summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
authorschwarz <schwarz@pkgsrc.org>2006-04-18 18:17:47 +0000
committerschwarz <schwarz@pkgsrc.org>2006-04-18 18:17:47 +0000
commitf9f07203e1a58b92aa8af5a1d1384eb9658ea609 (patch)
treeb322741593e45906c3ac3c6ddc07b3e8a77e7302 /shells
parenta6e6f7ffefe1683a726087b47a28d84eff9ede18 (diff)
downloadpkgsrc-f9f07203e1a58b92aa8af5a1d1384eb9658ea609.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