diff options
author | toshii <toshii@pkgsrc.org> | 2000-10-04 10:22:56 +0000 |
---|---|---|
committer | toshii <toshii@pkgsrc.org> | 2000-10-04 10:22:56 +0000 |
commit | a1b1742dd8f6040b935dcd8a9e68e3e754937377 (patch) | |
tree | ff04bd526f5173a4b2a2f7320442b2ace990bc5d | |
parent | 2b9e27d510d0ef8209ad442d9b4e5360f284e8d7 (diff) | |
download | pkgsrc-a1b1742dd8f6040b935dcd8a9e68e3e754937377.tar.gz |
Take advantage of bsd.prefs.mk.
-rw-r--r-- | shells/bash2/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
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 |