summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortoshii <toshii@pkgsrc.org>2000-10-04 10:22:56 +0000
committertoshii <toshii@pkgsrc.org>2000-10-04 10:22:56 +0000
commita1b1742dd8f6040b935dcd8a9e68e3e754937377 (patch)
treeff04bd526f5173a4b2a2f7320442b2ace990bc5d
parent2b9e27d510d0ef8209ad442d9b4e5360f284e8d7 (diff)
downloadpkgsrc-a1b1742dd8f6040b935dcd8a9e68e3e754937377.tar.gz
Take advantage of bsd.prefs.mk.
-rw-r--r--shells/bash2/Makefile12
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