summaryrefslogtreecommitdiffstats
path: root/devel/pth
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-09-11 14:49:45 +0000
committersf <sf@FreeBSD.org>2001-09-11 14:49:45 +0000
commitc74a7c7004a300539332646e69363f6174c66189 (patch)
tree538c925a23ab6bad178b444a90d4825f193d72a7 /devel/pth
parent10bc5a6ae84f791b148baedc41932f58b39011c3 (diff)
downloadFreeBSD-ports-c74a7c7004a300539332646e69363f6174c66189.zip
FreeBSD-ports-c74a7c7004a300539332646e69363f6174c66189.tar.gz
install headers/libraries under its own directory, ${PREFIX}/includes/pth and
${PREFIX}/lib/pth, to avoid conflict with FreeBSD pthread.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile6
-rw-r--r--devel/pth/pkg-plist18
2 files changed, 15 insertions, 9 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 3a9d27f..0384db3 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -7,6 +7,7 @@
PORTNAME= pth
PORTVERSION= 1.4.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.engelschall.com/sw/pth/
@@ -15,11 +16,14 @@ MASTER_SITE_SUBDIR= pth
MAINTAINER= ports@FreeBSD.org
INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib/pth
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-pthread \
--enable-syscall-soft \
--enable-optimize \
- --enable-batch
+ --enable-batch \
+ --includedir="${PREFIX}/include/pth" \
+ --libdir="${PREFIX}/lib/pth"
MAN1= pth-config.1 pthread-config.1
MAN3= pth.3 pthread.3
diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist
index 9b7779d..8b9e2b9 100644
--- a/devel/pth/pkg-plist
+++ b/devel/pth/pkg-plist
@@ -1,11 +1,13 @@
bin/pth-config
bin/pthread-config
-include/pth.h
-include/pthread.h
-lib/libpth.a
-lib/libpth.so
-lib/libpth.so.14
-lib/libpthread.a
-lib/libpthread.so
-lib/libpthread.so.14
+include/pth/pth.h
+include/pth/pthread.h
+lib/pth/libpth.a
+lib/pth/libpth.so
+lib/pth/libpth.so.14
+lib/pth/libpthread.a
+lib/pth/libpthread.so
+lib/pth/libpthread.so.14
share/aclocal/pth.m4
+@dirrm include/pth
+@dirrm lib/pth
OpenPOWER on IntegriCloud