diff options
author | Ed Maste <emaste@FreeBSD.org> | 2018-03-28 05:11:25 +0800 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2018-03-28 05:11:25 +0800 |
commit | fa10dc7a72e033140e249fbcfeb2cf9d00b26330 (patch) | |
tree | 8e88bc4b9fba3af6533bf46dc51cf8df079b4c49 | |
parent | 674127a010efeb26ee65e1c59d3827dfd1b9932a (diff) | |
download | freebsd-ports-fa10dc7a72e033140e249fbcfeb2cf9d00b26330.tar.gz freebsd-ports-fa10dc7a72e033140e249fbcfeb2cf9d00b26330.tar.zst freebsd-ports-fa10dc7a72e033140e249fbcfeb2cf9d00b26330.zip |
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
Notes
Notes:
svn path=/head/; revision=465755
-rw-r--r-- | devel/pdcurses/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/pdcurses/Makefile b/devel/pdcurses/Makefile index fe67ccf0caac..ac0ef6d3f083 100644 --- a/devel/pdcurses/Makefile +++ b/devel/pdcurses/Makefile @@ -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 |