From a1b1742dd8f6040b935dcd8a9e68e3e754937377 Mon Sep 17 00:00:00 2001 From: toshii Date: Wed, 4 Oct 2000 10:22:56 +0000 Subject: Take advantage of bsd.prefs.mk. --- shells/bash2/Makefile | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'shells/bash2') diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile index 9c6ad7d96e5..98e49092b32 100644 --- a/shells/bash2/Makefile +++ b/shells/bash2/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2000/03/30 11:56:31 wiz Exp $ +# $NetBSD: Makefile,v 1.24 2000/10/04 10:22:56 toshii Exp $ # FreeBSD Id: Makefile,v 1.26 1997/06/27 23:03:27 ache Exp # @@ -17,6 +17,12 @@ GNU_CONFIGURE= yes USE_GTEXINFO= yes MAKE_ENV+= INSTALL_SCRIPT='${INSTALL_SCRIPT}' +.include "../../mk/bsd.prefs.mk" + +.if defined(BASH_STATIC) && ${BASH_STATIC} == YES +CONFIGURE_ARGS+= --enable-static-link +.endif + post-install: ${CP} /etc/shells /etc/shells.bak (${GREP} -v ${PREFIX}/bin/bash /etc/shells.bak; ${ECHO} ${PREFIX}/bin/bash) >/etc/shells @@ -32,7 +38,3 @@ post-install: ${GZIP_CMD} ${PREFIX}/share/doc/bash/*.ps .include "../../mk/bsd.pkg.mk" - -.if defined(BASH_STATIC) && ${BASH_STATIC} == YES -CONFIGURE_ARGS+= --enable-static-link -.endif -- cgit v1.2.3