summaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorsalo <salo@pkgsrc.org>2004-07-11 01:23:29 +0000
committersalo <salo@pkgsrc.org>2004-07-11 01:23:29 +0000
commit0ac98a26ded1920f661dd461da8e1ab6de39b94d (patch)
treea046c81dbeaf3dda38938a822d220a74755ad746 /shells/bash2
parent9d0a5a8bfa13301e612ab12b0ef06e983fd20224 (diff)
downloadpkgsrc-0ac98a26ded1920f661dd461da8e1ab6de39b94d.tar.gz
Add {BA,Z}SH_STATIC to BUILD_DEFS.
Addresses request on tech-pkg@ by Georg Schwarz.
Diffstat (limited to 'shells/bash2')
-rw-r--r--shells/bash2/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 5ab949a2c75..a923ce9aa0c 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.53 2004/06/22 14:05:39 minskim Exp $
+# $NetBSD: Makefile,v 1.54 2004/07/11 01:23:29 salo Exp $
#
DISTNAME= bash-2.05b
@@ -30,10 +30,10 @@ PKG_SHELL= ${PREFIX}/bin/bash
.include "../../mk/bsd.prefs.mk"
-.if defined(BASH_STATIC)
-. if !empty(BASH_STATIC:M[yY][eE][sS])
+BUILD_DEFS+= BASH_STATIC
+
+.if defined(BASH_STATIC) && !empty(BASH_STATIC:M[yY][eE][sS])
CONFIGURE_ARGS+= --enable-static-link
-. endif
.endif
post-install: