summaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/bash/Makefile15
1 files changed, 9 insertions, 6 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index 7d38d010721..d307b6138de 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -1,9 +1,8 @@
-# $NetBSD: Makefile,v 1.9 2005/07/01 16:14:39 minskim Exp $
-#
+# $NetBSD: Makefile,v 1.10 2005/07/07 21:30:54 tron Exp $
DISTNAME= bash-3.0
PKGNAME= bash-3.0pl16
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
@@ -22,12 +21,10 @@ CONFLICTS= static-bash-[0-9]*
PKG_INSTALLATION_TYPES= overwrite pkgviews
-USE_GNU_READLINE= yes
USE_MAKEINFO= yes
USE_PKGINSTALL= yes
USE_PKGLOCALEDIR= yes
GNU_CONFIGURE= yes
-CONFIGURE_ARGS+= --with-installed-readline
MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}'
TEST_TARGET= test
@@ -76,13 +73,19 @@ BUILDLINK_DEPMETHOD.readline= build
CONFIGURE_ENV+= ac_cv_type_wctype_t=no
.endif
+# Use "readline" package on Darwin to avoid link erros.
+.if ${OPSYS} == "Darwin"
+CONFIGURE_ARGS+= --with-installed-readline
+
+USE_GNU_READLINE= yes
BUILDLINK_DEPENDS.readline+= readline>=4.3
-.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/readline/buildlink3.mk"
+.endif
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/bash.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/bashbug.1 ${PREFIX}/man/man1
+.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"