summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorwiz <wiz>2013-05-29 09:06:02 +0000
committerwiz <wiz>2013-05-29 09:06:02 +0000
commit2da93493cacc89c16546456839f04438670bf037 (patch)
treedef043a65c32f0b4e1b23d653a13f923b35d2254 /math
parent9ab728ddd90c368393dfcc12e3b4ad563f199365 (diff)
downloadpkgsrc-2da93493cacc89c16546456839f04438670bf037.tar.gz
Does not need GNU readline on 6.99.21+.
Diffstat (limited to 'math')
-rw-r--r--math/nickle/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/math/nickle/Makefile b/math/nickle/Makefile
index b0f5525b9d6..f79d64d82ff 100644
--- a/math/nickle/Makefile
+++ b/math/nickle/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2013/05/26 20:14:48 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2013/05/29 09:06:02 wiz Exp $
DISTNAME= nickle-2.77
CATEGORIES= math lang
@@ -13,12 +13,12 @@ GNU_CONFIGURE= yes
TEST_TARGET= check
-USE_GNU_READLINE= yes
-# as of nickle-2.77 on NetBSD-6.99.20/amd64:
-# lex.l: In function 'LexInit':
-# lex.l:129:27: warning: assignment from incompatible pointer type
+.include "../../mk/bsd.prefs.mk"
+
+.if (${OPSYS} == NetBSD) && empty(OS_VERSION:M6.99.2[1-9]*) && empty(OS_VERSION:M6.99.[345679][0-9]*) && empty(OS_VERSION:M[789].*)
# lex.l:131:5: error: 'rl_catch_signals' undeclared (first use in this function)
-# lex.l:131:5: note: each undeclared identifier is reported only once for each function it appears in
+USE_GNU_READLINE= yes
+.endif
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"