pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/shells/bash2 Use devel/readline instead of the include...
details: https://anonhg.NetBSD.org/pkgsrc/rev/5fbd9f60afb6
branches: trunk
changeset: 496533:5fbd9f60afb6
user: minskim <minskim%pkgsrc.org@localhost>
date: Fri Jul 01 16:11:05 2005 +0000
description:
Use devel/readline instead of the included readline library. Bump
PKGREVISION due to the added dependency.
While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.
Approved by the maintainer (wiz@).
diffstat:
shells/bash2/Makefile | 14 +++++++++++---
1 files changed, 11 insertions(+), 3 deletions(-)
diffs (50 lines):
diff -r 3852288a7e00 -r 5fbd9f60afb6 shells/bash2/Makefile
--- a/shells/bash2/Makefile Fri Jul 01 16:11:04 2005 +0000
+++ b/shells/bash2/Makefile Fri Jul 01 16:11:05 2005 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.63 2005/05/31 10:01:39 dillo Exp $
+# $NetBSD: Makefile,v 1.64 2005/07/01 16:11:05 minskim Exp $
#
DISTNAME= bash-2.05b
PKGNAME= bash-2.05.2.7
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= shells
MASTER_SITES= ${MASTER_SITE_GNU:=bash/} \
ftp://ftp.cwru.edu/pub/bash/
@@ -20,8 +20,10 @@
PKG_INSTALLATION_TYPES= overwrite pkgviews
+USE_GNU_READLINE= yes
USE_PKGINSTALL= yes
GNU_CONFIGURE= yes
+CONFIGURE_ARGS+= --with-installed-readline
MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}'
TEST_TARGET= test
@@ -43,6 +45,8 @@
##
.if !empty(PKG_OPTIONS:Mstatic)
CONFIGURE_ARGS+= --enable-static-link
+BUILDLINK_DEPMETHOD.gettext= build
+BUILDLINK_DEPMETHOD.readline= build
.endif
##
@@ -52,9 +56,13 @@
CONFIGURE_ENV+= ac_cv_type_wctype_t=no
.endif
+BUILDLINK_DEPENDS.readline+= readline>=4.3
+
+.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+
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"
Home |
Main Index |
Thread Index |
Old Index