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
commitc9887b1bbe102c7f2660ed2550026c163e94e854 (patch)
treeda72452ae157fdf75c94c40b0d78ef2206b312a2 /devel/pth
parent1d3e8fb7fd5a0ef5ff6425a2fb8f755061726710 (diff)
downloadpkgsrc-c9887b1bbe102c7f2660ed2550026c163e94e854.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