aboutsummaryrefslogtreecommitdiff
path: root/shells/bash2/Makefile
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2003-12-14 07:05:40 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2003-12-14 07:05:40 +0000
commited3714f6d661be5c949620a509b40e16ce7326e1 (patch)
tree5d004d2f6d418b9af6c93797c86118dc5d2dde7f /shells/bash2/Makefile
parentac61510ea723f69afa295750cf459926abc35a20 (diff)
downloadports-ed3714f6d661be5c949620a509b40e16ce7326e1.tar.gz
ports-ed3714f6d661be5c949620a509b40e16ce7326e1.zip
Notes
Diffstat (limited to 'shells/bash2/Makefile')
-rw-r--r--shells/bash2/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/shells/bash2/Makefile b/shells/bash2/Makefile
index 32dff6b99482..2393c82f1f86 100644
--- a/shells/bash2/Makefile
+++ b/shells/bash2/Makefile
@@ -34,7 +34,11 @@ 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)
CONFIGURE_ENV= LDFLAGS=-static
+.else
+CONFIGURE_ARGS+= --enable-static-link=no
+.endif
MAN1= bash.1 bashbug.1
.if defined(WITH_NET_REDIRECTIONS)