From eef48e599b817318aac59c8e05f2749325cfa652 Mon Sep 17 00:00:00 2001 From: minskim Date: Fri, 1 Jul 2005 16:14:39 +0000 Subject: 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. --- shells/bash/Makefile | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'shells') diff --git a/shells/bash/Makefile b/shells/bash/Makefile index b8d84da2c2a..7d38d010721 100644 --- a/shells/bash/Makefile +++ b/shells/bash/Makefile @@ -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 @@ 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 @@ -62,6 +65,8 @@ PKG_OPTIONS_LEGACY_VARS+= BASH_STATIC:static ## .if !empty(PKG_OPTIONS:Mstatic) CONFIGURE_ARGS+= --enable-static-link +BUILDLINK_DEPMETHOD.gettext= build +BUILDLINK_DEPMETHOD.readline= build .endif ## @@ -71,9 +76,13 @@ CONFIGURE_ARGS+= --enable-static-link 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" -- cgit v1.2.3