summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorschwarz <schwarz>2006-04-18 18:17:47 +0000
committerschwarz <schwarz>2006-04-18 18:17:47 +0000
commitfcd5a0af3bc3448bf03ce95b389044261f6e5af0 (patch)
treeb322741593e45906c3ac3c6ddc07b3e8a77e7302 /shells
parent7092ed95a77432b53fa30c4ef83b9e652a40b042 (diff)
downloadpkgsrc-fcd5a0af3bc3448bf03ce95b389044261f6e5af0.tar.gz
use GNU bison instead of the native yacc on IRIX 5 since the code has
problems with the latter
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index bedc23b9aab..f4b45fd7d85 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/04/06 06:22:44 reed Exp $
+# $NetBSD: Makefile,v 1.23 2006/04/18 18:17:47 schwarz Exp $
DISTNAME= bash-3.1
PKGNAME= bash-3.1pl1
@@ -68,6 +68,11 @@ BUILDLINK_DEPMETHOD.readline= build
CONFIGURE_ENV+= ac_cv_type_wctype_t=no
.endif
+# the code has problems with older versions of yacc
+.if !empty(LOWER_OPSYS:Mirix5*)
+USE_TOOLS+= bison
+.endif
+
# Use "readline" package on Darwin to avoid link erros.
.if ${OPSYS} == "Darwin"
CONFIGURE_ARGS+= --with-installed-readline