aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsf <sf@FreeBSD.org>2001-09-11 22:49:45 +0800
committersf <sf@FreeBSD.org>2001-09-11 22:49:45 +0800
commitc74a7c7004a300539332646e69363f6174c66189 (patch)
tree538c925a23ab6bad178b444a90d4825f193d72a7 /devel
parent10bc5a6ae84f791b148baedc41932f58b39011c3 (diff)
downloadfreebsd-ports-gnome-c74a7c7004a300539332646e69363f6174c66189.tar.gz
freebsd-ports-gnome-c74a7c7004a300539332646e69363f6174c66189.tar.zst
freebsd-ports-gnome-c74a7c7004a300539332646e69363f6174c66189.zip
install headers/libraries under its own directory, ${PREFIX}/includes/pth and
${PREFIX}/lib/pth, to avoid conflict with FreeBSD pthread.
Diffstat (limited to 'devel')
-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 3a9d27f61e56..0384db34c497 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 9b7779d9facc..8b9e2b93dfd2 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