mirror of
https://git.freebsd.org/ports.git
synced 2025-07-03 02:20:33 -04:00
- Backport upstream patch from 20160220 [1]: modify configure macro for shared-library rules to use -Wl,-rpath rather than -rpath to work around a bug in scons (FreeBSD #178732 [2], cf: 20061021). While I'm here: - Remove unecessary CONFLICTS (on deleted port) - Add LICENSE_FILE - Tab -> space in pkg-descr: WWW URL [1] http://lists.gnu.org/archive/html/bug-ncurses/2016-02/msg00009.html [2] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=178732 PR: 209526 Submitted by: John Hein <z7dr6ut7gs snkmail com> MFH: 2016Q4
24 lines
661 B
Text
24 lines
661 B
Text
# Based on upstream 6.0 patch 20160220:
|
|
#
|
|
# + modify configure macro for shared-library rules to use -Wl,-rpath
|
|
# rather than -rpath to work around a bug in scons (FreeBSD #178732,
|
|
# cf: 20061021).
|
|
#
|
|
# See Also:
|
|
#
|
|
# http://lists.gnu.org/archive/html/bug-ncurses/2016-02/msg00009.html
|
|
# http://lists.gnu.org/archive/html/bug-ncurses/2016-02/msg00006.html
|
|
#
|
|
# TODO: Remove patch on 6.1 update
|
|
|
|
--- configure.orig 2015-08-05 09:20:32 UTC
|
|
+++ configure
|
|
@@ -5863,7 +5863,7 @@ case $cf_cv_system_name in
|
|
LD_RPATH_OPT="-Wl,-rpath,"
|
|
;;
|
|
(dragonfly*|freebsd*)
|
|
- LD_RPATH_OPT="-rpath "
|
|
+ LD_RPATH_OPT="-Wl,-rpath,"
|
|
;;
|
|
(netbsd*)
|
|
LD_RPATH_OPT="-Wl,-rpath,"
|