aboutsummaryrefslogtreecommitdiffstats
path: root/shells/bash
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-12-15 16:23:29 +0800
committerobrien <obrien@FreeBSD.org>2003-12-15 16:23:29 +0800
commit82a33f9cd322c6c43f9dca63133dd5e50238fa53 (patch)
tree57e5f61f3c985b550b5b2cff8ed3c246840ddef2 /shells/bash
parent8e508c2e9158165fdf7452c28858235ccf8975e8 (diff)
downloadfreebsd-ports-gnome-82a33f9cd322c6c43f9dca63133dd5e50238fa53.tar.gz
freebsd-ports-gnome-82a33f9cd322c6c43f9dca63133dd5e50238fa53.tar.zst
freebsd-ports-gnome-82a33f9cd322c6c43f9dca63133dd5e50238fa53.zip
Also pay attention to NOSHARED=yes as /usr/src and zsh does.
Requested by: Richard Coleman <richardcoleman@mindspring.com>
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