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:
Conrad Meyer 2015-07-30 18:50:18 +00:00
parent e614d8f474
commit b621c53816
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=393258

View file

@ -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: