aboutsummaryrefslogtreecommitdiffstats
path: root/net/libosip
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2002-10-26 07:58:28 +0800
committernaddy <naddy@FreeBSD.org>2002-10-26 07:58:28 +0800
commit735986effacafda49820655ed96469cd204d1aef (patch)
tree242be8893a84ae69f3e0b2609151a9147d85f17d /net/libosip
parentb650fd5eb7aed15acef4d7f8de5b6d5776a7af4e (diff)
downloadfreebsd-ports-gnome-735986effacafda49820655ed96469cd204d1aef.tar.gz
freebsd-ports-gnome-735986effacafda49820655ed96469cd204d1aef.tar.zst
freebsd-ports-gnome-735986effacafda49820655ed96469cd204d1aef.zip
Improve libtool handling of library names.
PR: 44117 Submitted by: Ports Fury
Diffstat (limited to 'net/libosip')
-rw-r--r--net/libosip/Makefile5
-rw-r--r--net/libosip/files/patch-configure10
-rw-r--r--net/libosip/pkg-plist11
3 files changed, 17 insertions, 9 deletions
diff --git a/net/libosip/Makefile b/net/libosip/Makefile
index 0bb49f816236..81ccf23720a5 100644
--- a/net/libosip/Makefile
+++ b/net/libosip/Makefile
@@ -8,6 +8,7 @@
PORTNAME= libosip
PORTVERSION= 0.8.9
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= osip
@@ -15,9 +16,9 @@ MASTER_SITE_SUBDIR= osip
MAINTAINER= ports@FreeBSD.org
USE_REINPLACE= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL= yes
+LIBTOOLFLAGS= --disable-ltlibs --release-ignore
INSTALLS_SHLIB= yes
-PLIST_SUB= PORTVERSION=${PORTVERSION}
post-patch:
@${REINPLACE_CMD} -e "s|-lpthread|${PTHREAD_LIBS}|g" ${WRKSRC}/configure
diff --git a/net/libosip/files/patch-configure b/net/libosip/files/patch-configure
new file mode 100644
index 000000000000..d7ca4400c4ef
--- /dev/null
+++ b/net/libosip/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure.orig Fri Sep 6 08:22:31 2002
++++ configure Sat Oct 12 16:00:32 2002
+@@ -5181,6 +5181,7 @@
+
+ # This can be used to rebuild libtool when needed
+ LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
++$ac_aux_dir/ltconfig $LIBTOOL_DEPS
+
+ # Always use our own libtool.
+ LIBTOOL='$(SHELL) $(top_builddir)/libtool'
diff --git a/net/libosip/pkg-plist b/net/libosip/pkg-plist
index 7503b826385e..28a6f7aca012 100644
--- a/net/libosip/pkg-plist
+++ b/net/libosip/pkg-plist
@@ -1,3 +1,4 @@
+@comment $FreeBSD$
include/osip/const.h
include/osip/dialog.h
include/osip/fifo.h
@@ -13,14 +14,10 @@ include/osip/smsg.h
include/osip/smsgtypes.h
include/osip/thread.h
include/osip/urls.h
-@dirrm include/osip
-lib/libfsmtl-%%PORTVERSION%%.so
-lib/libfsmtl-%%PORTVERSION%%.so.0
lib/libfsmtl.a
-lib/libfsmtl.la
lib/libfsmtl.so
-lib/libosip-%%PORTVERSION%%.so
-lib/libosip-%%PORTVERSION%%.so.0
+lib/libfsmtl.so.0
lib/libosip.a
-lib/libosip.la
lib/libosip.so
+lib/libosip.so.0
+@dirrm include/osip