diff options
author | nork <nork@FreeBSD.org> | 2005-11-15 15:44:39 +0000 |
---|---|---|
committer | nork <nork@FreeBSD.org> | 2005-11-15 15:44:39 +0000 |
commit | a21b6ad0c2c6e7fb0ce3f265b0a6e84ec59c45c2 (patch) | |
tree | f8724f007b7ed56fd9b43f3b21ce7b2a07c942d2 /devel/pth | |
parent | d6343546614451cf02fb5f9aab90f10a7e9cb3ff (diff) | |
download | FreeBSD-ports-a21b6ad0c2c6e7fb0ce3f265b0a6e84ec59c45c2.zip FreeBSD-ports-a21b6ad0c2c6e7fb0ce3f265b0a6e84ec59c45c2.tar.gz |
Fix pkg-plist WITH_SYSCALL_HARD, and Bump PORTREVISION.
Approved by: Vasil Dimov <vd@datamax.bg> (maintainer)
Diffstat (limited to 'devel/pth')
-rw-r--r-- | devel/pth/Makefile | 9 | ||||
-rw-r--r-- | devel/pth/pkg-plist | 10 |
2 files changed, 12 insertions, 7 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile index f2dc9e4..00fb8dd 100644 --- a/devel/pth/Makefile +++ b/devel/pth/Makefile @@ -7,6 +7,7 @@ PORTNAME= pth PORTVERSION= 2.0.5 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= pth @@ -25,8 +26,8 @@ CONFIGURE_ARGS= --enable-optimize \ USE_REINPLACE= yes -MAN1= pth-config.1 pthread-config.1 -MAN3= pth.3 pthread.3 +MAN1= pth-config.1 +MAN3= pth.3 OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on \ SYSCALL_HARD "Build with hard syscalls" off @@ -35,8 +36,12 @@ OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on \ .if defined(WITH_SYSCALL_HARD) CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft +PLIST_SUB= PTHREAD="@comment " .else CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread +PLIST_SUB= PTHREAD="" +MAN1+= pthread-config.1 +MAN3+= pthread.3 .endif post-patch: diff --git a/devel/pth/pkg-plist b/devel/pth/pkg-plist index 8c32441..decf321 100644 --- a/devel/pth/pkg-plist +++ b/devel/pth/pkg-plist @@ -1,14 +1,14 @@ bin/pth-config -bin/pthread-config +%%PTHREAD%%bin/pthread-config etc/rc.d/000.pth.sh include/pth/pth.h -include/pth/pthread.h +%%PTHREAD%%include/pth/pthread.h lib/pth/libpth.a lib/pth/libpth.so lib/pth/libpth.so.20 -lib/pth/libpthread.a -lib/pth/libpthread.so -lib/pth/libpthread.so.20 +%%PTHREAD%%lib/pth/libpthread.a +%%PTHREAD%%lib/pth/libpthread.so +%%PTHREAD%%lib/pth/libpthread.so.20 share/aclocal/pth.m4 @dirrm include/pth @dirrm lib/pth |