svn commit: r393258 - head/shells/bash

Conrad E. Meyer cem at FreeBSD.org
Thu Jul 30 18:50:19 UTC 2015


Author: cem (src committer)
Date: Thu Jul 30 18:50:18 2015
New Revision: 393258
URL: https://svnweb.freebsd.org/changeset/ports/393258

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

Modified:
  head/shells/bash/Makefile

Modified: head/shells/bash/Makefile
==============================================================================
--- head/shells/bash/Makefile	Thu Jul 30 18:47:52 2015	(r393257)
+++ head/shells/bash/Makefile	Thu Jul 30 18:50:18 2015	(r393258)
@@ -4,7 +4,7 @@
 PORTNAME=		bash
 PATCHLEVEL=		39
 PORTVERSION=		4.3.${PATCHLEVEL:S/^0//g}
-PORTREVISION?=		2
+PORTREVISION?=		3
 CATEGORIES=		shells
 MASTER_SITES=		GNU/${PORTNAME}
 DISTNAME=		${PORTNAME}-${PORTVERSION:R}
@@ -74,6 +74,9 @@ CFLAGS+=	-DIMPORT_FUNCTIONS_DEF=0
 CONFIGURE_ARGS+=	--enable-static-link
 .else
 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
 
 post-patch:


More information about the svn-ports-all mailing list