[Bug 201959] shells/bash: Missing -Wl, -export-dynamic breaks "enable -f"
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Jul 29 05:19:27 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=201959
Bug ID: 201959
Summary: shells/bash: Missing -Wl,-export-dynamic breaks
"enable -f"
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ehaupt at FreeBSD.org
Reporter: cem at freebsd.org
Assignee: ehaupt at FreeBSD.org
Flags: maintainer-feedback?(ehaupt at FreeBSD.org)
bash is missing -Wl,-export-dynamic. Without it, bash extensions can't use
symbols provided by the program ("enable -f").
Here's a patch:
--- a/shells/bash/Makefile
+++ b/shells/bash/Makefile
@@ -55,6 +55,7 @@ CONFIGURE_ARGS+= --without-bash-malloc \
--enable-disabled-builtins
CFLAGS+= -DUSE_MKTEMP=1 -DUSE_MKSTEMP=1
+CFLAGS+= -Wl,-export-dynamic
.if empty(PKGNAMESUFFIX)
CONFLICTS+= bash-static-[0-9]*
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list