diff options
author | sf <sf@FreeBSD.org> | 2001-09-11 22:49:45 +0800 |
---|---|---|
committer | sf <sf@FreeBSD.org> | 2001-09-11 22:49:45 +0800 |
commit | c74a7c7004a300539332646e69363f6174c66189 (patch) | |
tree | 538c925a23ab6bad178b444a90d4825f193d72a7 /devel | |
parent | 10bc5a6ae84f791b148baedc41932f58b39011c3 (diff) | |
download | freebsd-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/Makefile | 6 | ||||
-rw-r--r-- | devel/pth/pkg-plist | 18 |
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 |