aboutsummaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorVasil Dimov <vd@FreeBSD.org>2007-02-12 15:38:08 +0000
committerVasil Dimov <vd@FreeBSD.org>2007-02-12 15:38:08 +0000
commit59e8bb5642d037d77fd8a6d843782a0613c92fb0 (patch)
tree1bedb5eed22908d088cbad79942b39e11cd0963f /devel/pth
parent9665be3aa1c311ca2a553347c26946ed610e5cfd (diff)
downloadports-59e8bb5642d037d77fd8a6d843782a0613c92fb0.tar.gz
ports-59e8bb5642d037d77fd8a6d843782a0613c92fb0.zip
Notes
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