diff options
author | vd <vd@FreeBSD.org> | 2007-02-13 00:04:14 +0800 |
---|---|---|
committer | vd <vd@FreeBSD.org> | 2007-02-13 00:04:14 +0800 |
commit | f19c437c6e3fffce2c848666f1f660d5503a7456 (patch) | |
tree | 450c1d3e95651d9f7978f5a1e5c5bb002654b57d /devel/pth | |
parent | ef970a4a3ee46a675d0991aac27fa23afcd11ba9 (diff) | |
download | freebsd-ports-gnome-f19c437c6e3fffce2c848666f1f660d5503a7456.tar.gz freebsd-ports-gnome-f19c437c6e3fffce2c848666f1f660d5503a7456.tar.zst freebsd-ports-gnome-f19c437c6e3fffce2c848666f1f660d5503a7456.zip |
Get rid of WITH_SYSCALL_HARD and depend on whether PKGNAMESUFFIX is -hard
or not.
Diffstat (limited to 'devel/pth')
-rw-r--r-- | devel/pth/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile index 39a6f307d026..64bc3f83f03b 100644 --- a/devel/pth/Makefile +++ b/devel/pth/Makefile @@ -10,6 +10,7 @@ PORTVERSION= 2.0.7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITE_SUBDIR= pth +PKGNAMESUFFIX?= # empty MAINTAINER= vd@FreeBSD.org COMMENT= GNU Portable Threads @@ -27,17 +28,16 @@ MAN3= pth.3 OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on +CONFLICTS?= pth-hard-2.* + .include <bsd.port.pre.mk> -.if defined(WITH_SYSCALL_HARD) -PKGNAMESUFFIX= -hard +.if ${PKGNAMESUFFIX} == "-hard" CONFIGURE_ARGS+= --enable-syscall-hard --disable-syscall-soft PLIST_SUB= PTHREAD="@comment " -CONFLICTS= pth-* .else CONFIGURE_ARGS+= --enable-syscall-soft --enable-pthread PLIST_SUB= PTHREAD="" -CONFLICTS= pth-hard-* MAN1+= pthread-config.1 MAN3+= pthread.3 .endif |