Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Mar 2018 21:11:25 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r465755 - head/devel/pdcurses
Message-ID:  <201803272111.w2RLBPf2077200@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste (src committer)
Date: Tue Mar 27 21:11:25 2018
New Revision: 465755
URL: https://svnweb.freebsd.org/changeset/ports/465755

Log:
  devel/pdcurses: 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:		226979
  Approved by:	portmgr (LLD_UNSAFE blanket)
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/devel/pdcurses/Makefile

Modified: head/devel/pdcurses/Makefile
==============================================================================
--- head/devel/pdcurses/Makefile	Tue Mar 27 21:06:15 2018	(r465754)
+++ head/devel/pdcurses/Makefile	Tue Mar 27 21:11:25 2018	(r465755)
@@ -18,6 +18,8 @@ USE_LDCONFIG=	yes
 USE_XORG=	x11 xext sm ice xt xaw xmu xpm
 GNU_CONFIGURE=	yes
 MAKE_JOBS_UNSAFE=yes
+# LLD_UNSAFE - requires directly-invoked linker to provide library search paths
+BINARY_ALIAS=	ld=ld.bfd
 
 WRKSRC_SUBDIR=	x11
 



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