From owner-svn-ports-all@FreeBSD.ORG Mon May 12 09:28:17 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 606A8D29; Mon, 12 May 2014 09:28:17 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4DA942E2A; Mon, 12 May 2014 09:28:17 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s4C9SH3J027207; Mon, 12 May 2014 09:28:17 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s4C9SHUQ027206; Mon, 12 May 2014 09:28:17 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201405120928.s4C9SHUQ027206@svn.freebsd.org> From: John Marino Date: Mon, 12 May 2014 09:28:17 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r353788 - head/devel/binutils/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 May 2014 09:28:17 -0000 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*)