aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authortijl <tijl@FreeBSD.org>2014-10-06 05:05:34 +0800
committertijl <tijl@FreeBSD.org>2014-10-06 05:05:34 +0800
commit372dbd147d8cebcb2ab2460cced87e1f7dfdbb9d (patch)
treea169c9833495fd105efc90cd6caea85295fa7a7a /devel
parent77ee1db5c00f3d83d7ab0808067180f9d087fb23 (diff)
downloadfreebsd-ports-gnome-372dbd147d8cebcb2ab2460cced87e1f7dfdbb9d.tar.gz
freebsd-ports-gnome-372dbd147d8cebcb2ab2460cced87e1f7dfdbb9d.tar.zst
freebsd-ports-gnome-372dbd147d8cebcb2ab2460cced87e1f7dfdbb9d.zip
Convert to USES=libtool
Diffstat (limited to 'devel')
-rw-r--r--devel/pth/Makefile4
-rw-r--r--devel/pth/files/patch-ltmain.sh28
-rw-r--r--devel/pth/pkg-plist4
3 files changed, 5 insertions, 31 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 68ec37a4754d..7ca38c675b3e 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -3,6 +3,7 @@
PORTNAME= pth
PORTVERSION= 2.0.7
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= pth
@@ -13,12 +14,13 @@ COMMENT= GNU Portable Threads
MAKE_JOBS_UNSAFE= yes
-USE_LDCONFIG= ${PREFIX}/lib/pth
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-optimize \
--enable-batch \
--includedir="${PREFIX}/include/pth" \
--libdir="${PREFIX}/lib/pth"
+USES= libtool
+USE_LDCONFIG= ${PREFIX}/lib/pth
OPTIONS_DEFINE= OPTIMIZED_CFLAGS
diff --git a/devel/pth/files/patch-ltmain.sh b/devel/pth/files/patch-ltmain.sh
deleted file mode 100644
index 98cb05e4ddb3..000000000000
--- a/devel/pth/files/patch-ltmain.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-
-$FreeBSD$
-
---- ltmain.sh 2001/08/27 09:51:26 1.1
-+++ ltmain.sh 2001/08/27 09:51:42
-@@ -2408,6 +2408,9 @@
- *-*-netbsd*)
- # Don't link with libc until the a.out ld.so is fixed.
- ;;
-+ *-*-freebsd*)
-+ # FreeBSD doesn't need this...
-+ ;;
- *)
- # Add libc to deplibs on all other systems if necessary.
- if test "$build_libtool_need_lc" = "yes"; then
-@@ -4175,10 +4178,12 @@
- fi
-
- # Install the pseudo-library for information purposes.
-+ if /usr/bin/false; then
- name=`$echo "X$file" | $Xsed -e 's%^.*/%%'`
- instname="$dir/$name"i
- $show "$install_prog $instname $destdir/$name"
- $run eval "$install_prog $instname $destdir/$name" || exit $?
-+ fi
-
- # Maybe install the static library, too.
- test -n "$old_library" && staticlibs="$staticlibs $dir/$old_library"
diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist
index 90c3a9006264..db6567499276 100644
--- a/devel/pth/pkg-plist
+++ b/devel/pth/pkg-plist
@@ -5,13 +5,13 @@ include/pth/pth.h
lib/pth/libpth.a
lib/pth/libpth.so
lib/pth/libpth.so.20
+lib/pth/libpth.so.20.0.27
%%PTHREAD%%lib/pth/libpthread.a
%%PTHREAD%%lib/pth/libpthread.so
%%PTHREAD%%lib/pth/libpthread.so.20
+%%PTHREAD%%lib/pth/libpthread.so.20.0.27
share/aclocal/pth.m4
man/man1/pth-config.1.gz
%%PTHREAD%%man/man1/pthread-config.1.gz
man/man3/pth.3.gz
%%PTHREAD%%man/man3/pthread.3.gz
-@dirrm include/pth
-@dirrm lib/pth