aboutsummaryrefslogtreecommitdiff
path: root/devel/binutils
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2014-05-12 09:28:16 +0000
committerJohn Marino <marino@FreeBSD.org>2014-05-12 09:28:16 +0000
commitd05b6ed8597614f0237610e986be226dd7aaad98 (patch)
tree3dcc531daafea806bce4593184adb24334fa54da /devel/binutils
parent8800692b14d9c1eeef3c00cff9f30aa8bfce2e0d (diff)
downloadports-d05b6ed8597614f0237610e986be226dd7aaad98.tar.gz
ports-d05b6ed8597614f0237610e986be226dd7aaad98.zip
Notes
Diffstat (limited to 'devel/binutils')
-rw-r--r--devel/binutils/files/patch-ld_configure.tgt18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/binutils/files/patch-ld_configure.tgt b/devel/binutils/files/patch-ld_configure.tgt
new file mode 100644
index 000000000000..b912df2a2971
--- /dev/null
+++ b/devel/binutils/files/patch-ld_configure.tgt
@@ -0,0 +1,18 @@
+DragonFly 3.7 has moved a number of system libraries to /lib and the bfd
+linker does not follow symlinks by design. A patch to add /lib to the
+default search path has already been sent to binutils developers. That
+patch does not include the deletion of /usr/pkg/lib since it is to be
+used by pkgsrc as well, but there's no reason to search that path by a
+linker built by FreeBSD ports.
+
+--- ld/configure.tgt.orig 2013-11-26 11:37:33.000000000 +0000
++++ ld/configure.tgt
+@@ -773,7 +773,7 @@ NATIVE_LIB_DIRS='/usr/local/lib /lib /us
+ case "${target}" in
+
+ *-*-dragonfly*)
+- NATIVE_LIB_DIRS='/usr/lib /usr/pkg/lib /usr/local/lib'
++ NATIVE_LIB_DIRS='/lib /usr/lib /usr/local/lib'
+ ;;
+
+ *-*-freebsd*)