1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-03 11:12:13 +00:00

Use pre-defined knob for the static build option (STATIC_BASH -> STATIC).

This commit is contained in:
Emanuel Haupt 2013-01-14 14:59:07 +00:00
parent aa37f16ced
commit 778a3def11
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=310391
2 changed files with 3 additions and 4 deletions

View File

@ -26,12 +26,11 @@ COMMENT= The GNU Project's Bourne Again SHell
IGNOREFILES= FAQ
OPTIONS_DEFINE= IMPLICITCD COLONBREAKSWORDS HELP NLS STATIC_BASH SYSLOG DOCS
OPTIONS_DEFINE= IMPLICITCD COLONBREAKSWORDS HELP NLS STATIC SYSLOG DOCS
OPTIONS_DEFAULT=IMPLICITCD COLONBREAKSWORDS HELP NLS
IMPLICITCD_DESC= Use directory name alone to cd into it
COLONBREAKSWORDS_DESC= Colons break words
HELP_DESC= Install the help files
STATIC_BASH_DESC= Compile without shared libs
SYSLOG_DESC= Compile with syslog support
.include <bsd.port.pre.mk>
@ -62,7 +61,7 @@ CONFIGURE_ARGS= --without-bash-malloc \
--disable-rpath \
--enable-disabled-builtins
.if ${PORT_OPTIONS:MSTATIC_BASH} || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:L} != "no")
.if ${PORT_OPTIONS:MSTATIC} || defined(NO_DYNAMICROOT) || (defined(NOSHARED) && ${NOSHARED:L} != "no")
.if empty(PORT_OPTIONS:MNLS)
WITHOUT_NLS=yes
.endif

View File

@ -3,6 +3,6 @@
MASTERDIR= ${.CURDIR}/../../shells/bash-devel
OPTIONS_SET= STATIC_BASH
OPTIONS_SET= STATIC
.include "${MASTERDIR}/Makefile"