diff options
author | marino <marino@FreeBSD.org> | 2014-05-12 17:28:16 +0800 |
---|---|---|
committer | marino <marino@FreeBSD.org> | 2014-05-12 17:28:16 +0800 |
commit | 7971a70ddcc7820d17d62f93b234e9cd5cf8f8f4 (patch) | |
tree | 3dcc531daafea806bce4593184adb24334fa54da /devel/binutils | |
parent | 7acef40f6ac95ef16d3dd710e9f85c6609fd5f34 (diff) | |
download | freebsd-ports-gnome-7971a70ddcc7820d17d62f93b234e9cd5cf8f8f4.tar.gz freebsd-ports-gnome-7971a70ddcc7820d17d62f93b234e9cd5cf8f8f4.tar.zst freebsd-ports-gnome-7971a70ddcc7820d17d62f93b234e9cd5cf8f8f4.zip |
devel/binutils: Support dev branch of DragonFly
On the development branch of DragonFly, a number of shared system
libraries has moved from /usr/lib to /lib, mirroring what happened on
FreeBSD years ago. The bfd linker will not follow symlinks, so the
configure.tgt file needs to be updated for DragonFly 3.7+. This is a
no-op for FreeBSD.
A similar patch has been submitted upstream.
Diffstat (limited to 'devel/binutils')
-rw-r--r-- | devel/binutils/files/patch-ld_configure.tgt | 18 |
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*) |