summaryrefslogtreecommitdiff
path: root/shells/bash2
diff options
context:
space:
mode:
authorsalo <salo>2004-07-11 01:23:29 +0000
committersalo <salo>2004-07-11 01:23:29 +0000
commit4ff990a12a49ed1e15f39ae3faa0e0c034753696 (patch)
treea046c81dbeaf3dda38938a822d220a74755ad746 /shells/bash2
parenta795677c6260ebc8a551eaa3ccf9de11e6134e22 (diff)
downloadpkgsrc-4ff990a12a49ed1e15f39ae3faa0e0c034753696.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: