summaryrefslogtreecommitdiff
path: root/shells/bash
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-12-15 08:23:29 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-12-15 08:23:29 +0000
commitab8dd75a02d8b22665724370140c508712d87d8a (patch)
tree12e176fd495dd479be35a76c0bd2210a423732c7 /shells/bash
parent- Use user-ppp by default (diff)
Also pay attention to NOSHARED=yes as /usr/src and zsh does.
Requested by: Richard Coleman <richardcoleman@mindspring.com>
Notes
Notes: svn path=/head/; revision=95858
Diffstat (limited to 'shells/bash')
-rw-r--r--shells/bash/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/bash/Makefile b/shells/bash/Makefile
index bfc39444345f..b3066ea38177 100644
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -34,7 +34,7 @@ COMMENT= The GNU Bourne Again Shell
WRKSRC= ${WRKDIR}/bash-${PORTVERSION:C/\....$//}
GNU_CONFIGURE= Yes
CONFIGURE_ARGS= --with-installed-readline
-.if defined(WANT_STATIC_BASH) || defined(NO_DYNAMICROOT)
+.if defined(WANT_STATIC_BASH) || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ( ${NOSHARED} != "no" && ${NOSHARED} != "NO" ))
CONFIGURE_ENV= LDFLAGS=-static
.else
CONFIGURE_ARGS+= --enable-static-link=no