pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/shells/bash Use devel/readline instead of the included...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67f37abe2870
branches:  trunk
changeset: 496536:67f37abe2870
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jul 01 16:14:39 2005 +0000

description:
Use devel/readline instead of the included readline library.  Bump
PKGREVISION due to the added dependency.  This should fix PR pkg/30601.

While here, set BUILDLINK_DEPMETHOD of dependent libraries to "build"
when the "static" option is enabled.

diffstat:

 shells/bash/Makefile |  13 +++++++++++--
 1 files changed, 11 insertions(+), 2 deletions(-)

diffs (51 lines):

diff -r b522fdfc7fc5 -r 67f37abe2870 shells/bash/Makefile
--- a/shells/bash/Makefile      Fri Jul 01 16:14:31 2005 +0000
+++ b/shells/bash/Makefile      Fri Jul 01 16:14:39 2005 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2005/05/31 10:01:39 dillo Exp $
+# $NetBSD: Makefile,v 1.9 2005/07/01 16:14:39 minskim Exp $
 #
 
 DISTNAME=      bash-3.0
 PKGNAME=       bash-3.0pl16
+PKGREVISION=   1
 CATEGORIES=    shells
 MASTER_SITES=  ${MASTER_SITE_GNU:=bash/} \
                ftp://ftp.cwru.edu/pub/bash/
@@ -21,10 +22,12 @@
 
 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
 
@@ -62,6 +65,8 @@
 ##
 .if !empty(PKG_OPTIONS:Mstatic)
 CONFIGURE_ARGS+=       --enable-static-link
+BUILDLINK_DEPMETHOD.gettext=   build
+BUILDLINK_DEPMETHOD.readline=  build
 .endif
 
 ##
@@ -71,9 +76,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