aboutsummaryrefslogtreecommitdiffstats
path: root/devel/pth
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2007-02-12 23:38:08 +0800
committervd <vd@FreeBSD.org>2007-02-12 23:38:08 +0800
commitef970a4a3ee46a675d0991aac27fa23afcd11ba9 (patch)
treef02055b7444865704fd173199e4e5575c1ccca44 /devel/pth
parentadc8ada5d5c2bfe4a63e6fe52dae439441865d81 (diff)
downloadfreebsd-ports-gnome-ef970a4a3ee46a675d0991aac27fa23afcd11ba9.tar.gz
freebsd-ports-gnome-ef970a4a3ee46a675d0991aac27fa23afcd11ba9.tar.zst
freebsd-ports-gnome-ef970a4a3ee46a675d0991aac27fa23afcd11ba9.zip
Prepare devel/pth for the slave port devel/pth-hard that will be added
shortly. PR: ports/108975 Submitted by: Martin Matuska <martin@matuska.org>
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index a6acf944c168..39a6f307d026 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -25,17 +25,19 @@ CONFIGURE_ARGS= --enable-optimize \
MAN1= pth-config.1
MAN3= pth.3
-OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on \
- SYSCALL_HARD "Build with hard syscalls" off
+OPTIONS= OPTIMIZED_CFLAGS "Build with optimized CFLAGS" on
.include <bsd.port.pre.mk>
.if defined(WITH_SYSCALL_HARD)
+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