mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
bash: Export symbols for "enable -f"
PR: 201959 Reviewed by: ehaupt Approved by: markj (mentor) Sponsored by: EMC / Isilon Storage Division Differential Revision: https://reviews.freebsd.org/D3231
This commit is contained in:
parent
e614d8f474
commit
b621c53816
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393258
1 changed files with 4 additions and 1 deletions
|
@ -4,7 +4,7 @@
|
||||||
PORTNAME= bash
|
PORTNAME= bash
|
||||||
PATCHLEVEL= 39
|
PATCHLEVEL= 39
|
||||||
PORTVERSION= 4.3.${PATCHLEVEL:S/^0//g}
|
PORTVERSION= 4.3.${PATCHLEVEL:S/^0//g}
|
||||||
PORTREVISION?= 2
|
PORTREVISION?= 3
|
||||||
CATEGORIES= shells
|
CATEGORIES= shells
|
||||||
MASTER_SITES= GNU/${PORTNAME}
|
MASTER_SITES= GNU/${PORTNAME}
|
||||||
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
|
||||||
|
@ -74,6 +74,9 @@ CFLAGS+= -DIMPORT_FUNCTIONS_DEF=0
|
||||||
CONFIGURE_ARGS+= --enable-static-link
|
CONFIGURE_ARGS+= --enable-static-link
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --disable-static-link
|
CONFIGURE_ARGS+= --disable-static-link
|
||||||
|
# Bash symbols must be exported in order to link runtime plugins, i.e.,
|
||||||
|
# "enable -f". (Plugins are not supported for bash-static.)
|
||||||
|
CFLAGS+= -Wl,-export-dynamic
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
|
|
Loading…
Add table
Reference in a new issue