summaryrefslogtreecommitdiff
path: root/devel/pth
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-18 19:22:09 +0000
committerjlam <jlam>2002-10-18 19:22:09 +0000
commit54b3b16b5f21d7651b2ccac555bd874c8d7c4aea (patch)
treeda72452ae157fdf75c94c40b0d78ef2206b312a2 /devel/pth
parentb501dbb85cf685df321b3fa7e2884922f7dfa720 (diff)
downloadpkgsrc-54b3b16b5f21d7651b2ccac555bd874c8d7c4aea.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