Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 May 2014 09:28:17 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r353788 - head/devel/binutils/files
Message-ID:  <201405120928.s4C9SHUQ027206@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: marino
Date: Mon May 12 09:28:16 2014
New Revision: 353788
URL: http://svnweb.freebsd.org/changeset/ports/353788
QAT: https://qat.redports.org/buildarchive/r353788/

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

Added:
  head/devel/binutils/files/patch-ld_configure.tgt   (contents, props changed)

Added: head/devel/binutils/files/patch-ld_configure.tgt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/binutils/files/patch-ld_configure.tgt	Mon May 12 09:28:16 2014	(r353788)
@@ -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*)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201405120928.s4C9SHUQ027206>