From owner-svn-ports-all@freebsd.org Tue Mar 27 21:24:51 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AF193F5E63F; Tue, 27 Mar 2018 21:24:51 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5D67C830D7; Tue, 27 Mar 2018 21:24:51 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 5855C219D2; Tue, 27 Mar 2018 21:24:51 +0000 (UTC) (envelope-from emaste@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2RLOpFJ084888; Tue, 27 Mar 2018 21:24:51 GMT (envelope-from emaste@FreeBSD.org) Received: (from emaste@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2RLOpNw084887; Tue, 27 Mar 2018 21:24:51 GMT (envelope-from emaste@FreeBSD.org) Message-Id: <201803272124.w2RLOpNw084887@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: emaste set sender to emaste@FreeBSD.org using -f From: Ed Maste Date: Tue, 27 Mar 2018 21:24:51 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r465760 - head/devel/libds X-SVN-Group: ports-head X-SVN-Commit-Author: emaste X-SVN-Commit-Paths: head/devel/libds X-SVN-Commit-Revision: 465760 X-SVN-Commit-Repository: ports 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.25 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: Tue, 27 Mar 2018 21:24:51 -0000 Author: emaste (src committer) Date: Tue Mar 27 21:24:51 2018 New Revision: 465760 URL: https://svnweb.freebsd.org/changeset/ports/465760 Log: devel/libds: use BINARY_ALIAS to ensure linker is ld.bfd lld has no built-in search paths (/lib, /usr/lib). Normally the linker is invoked from the compiler driver, and the search paths are added by the compiler. If lld is invoked directly library search paths must be specified explicitly, with -L/lib -L/usr/lib. This port does not honour LD or -fuse-ld in CFLAGS via LLD_UNSAFE, but BINARY_ALIAS can be used to ensure we use the BFD linker. PR: 226972 Approved by: portmgr (LLD_UNSAFE blanket) Sponsored by: The FreeBSD Foundation Modified: head/devel/libds/Makefile Modified: head/devel/libds/Makefile ============================================================================== --- head/devel/libds/Makefile Tue Mar 27 21:20:29 2018 (r465759) +++ head/devel/libds/Makefile Tue Mar 27 21:24:51 2018 (r465760) @@ -14,6 +14,8 @@ COMMENT= ANSI Generic Data Structures Library LICENSE= BSD4CLAUSE USE_LDCONFIG= yes +# LLD_UNSAFE - requires directly-invoked linker to provide library search paths +BINARY_ALIAS= ld=ld.bfd ALL_TARGET= gcc HTML= avltree.html heap.html parray.html set.html \