1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

- Add WANT_STATIC_BASH knob.

PR:		ports/81795
Submitted by:	Bjarne Koenig <bkoenig@cs.tu-berlin.de>
Approved by:	maintainer timeout (5 months)
This commit is contained in:
Florent Thoumie 2005-11-30 15:10:12 +00:00
parent 4cba8be7c0
commit b9efc6aa44
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150055

View File

@ -56,6 +56,16 @@ CONFIGURE_ARGS= --without-bash-malloc \
--disable-rpath \
--enable-disabled-builtins
.if defined(WANT_STATIC_BASH) || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:L} != "no")
.if !defined(WITHOUT_NLS)
WITHOUT_NLS=yes
.endif
CONFIGURE_ARGS+= --enable-static-link
PKGNAMESUFFIX= -static
.else
CONFIGURE_ARGS+= --enable-static-link=no
.endif
.if defined(WITHOUT_HELP)
CONFIGURE_ARGS+= --disable-help-builtin
PLIST_SUB+= HELP="@comment "