aboutsummaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
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 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