aboutsummaryrefslogtreecommitdiff
path: root/shells/bash2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'shells/bash2/Makefile')
-rw-r--r--shells/bash2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index bfc39444345f..b3066ea38177 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/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