From 59e8bb5642d037d77fd8a6d843782a0613c92fb0 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Mon, 12 Feb 2007 15:38:08 +0000 Subject: Prepare devel/pth for the slave port devel/pth-hard that will be added shortly. PR: ports/108975 Submitted by: Martin Matuska --- devel/pth/Makefile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'devel/pth') 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 .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 -- cgit v1.2.3