summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-10-18 19:22:09 +0000
committerjlam <jlam@pkgsrc.org>2002-10-18 19:22:09 +0000
commitc485e3342eaa5a7d6d4b431366e4a1d035bfc38c (patch)
treeda72452ae157fdf75c94c40b0d78ef2206b312a2 /devel/pth
parent0d9d14bb74b723767e090b3e4c04cc556a86a5a0 (diff)
downloadpkgsrc-c485e3342eaa5a7d6d4b431366e4a1d035bfc38c.tar.gz
Fix checks for disabling syscall-hard and properly emit a message for that
case.
Diffstat (limited to 'devel/pth')
-rw-r--r--devel/pth/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/pth/Makefile b/devel/pth/Makefile
index 9c0abf1c0bc..34d78bdf088 100644
--- a/devel/pth/Makefile
+++ b/devel/pth/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.49 2002/10/14 11:49:54 skrll Exp $
+# $NetBSD: Makefile,v 1.50 2002/10/18 19:22:09 jlam Exp $
#
DISTNAME= pth-1.4.1
@@ -29,10 +29,13 @@ PLIST_SUBST+= PTH_MAJOR=${PTH_MAJOR} PTH_MINOR=${PTH_MINOR}
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} == "NetBSD"
-. if ${MACHINE_ARCH} == "m68k" && (${OS_VERSION:M1.5.[12]*} || ${OS_VERSION:M1.[0-4]*})
-@${ECHO} Building without --enable-syscall-hard. lib/18644 needs fixing.
-. else
+. if ${MACHINE_ARCH} == "m68k"
+. if !empty(OS_VERSION:M1.5.[12]*) || !empty(OS_VERSION:M1.[0-4]*)
+pre-configure:
+ @${ECHO} Building without --enable-syscall-hard. lib/18644 needs fixing.
+. else
CONFIGURE_ARGS+= --enable-syscall-hard
+. endif
. endif
.endif