Index: Mk/bsd.port.mk =================================================================== --- Mk/bsd.port.mk +++ Mk/bsd.port.mk @@ -1844,6 +1844,7 @@ .if defined(LLD_UNSAFE) && ${/usr/bin/ld:L:tA} == /usr/bin/ld.lld LDFLAGS+= -fuse-ld=bfd +BINARY_ALIAS= ld=${LD} . if !defined(USE_BINUTILS) . if exists(/usr/bin/ld.bfd) LD= /usr/bin/ld.bfd Index: devel/libds/Makefile =================================================================== --- devel/libds/Makefile +++ devel/libds/Makefile @@ -14,9 +14,7 @@ LICENSE= BSD4CLAUSE USE_LDCONFIG= yes -# requires directly-invoked linker to provide library search paths -LLD_UNSAFE= yes -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes # Needs linker to provide library search paths. ALL_TARGET= gcc HTML= avltree.html heap.html parray.html set.html \ Index: devel/pdcurses/Makefile =================================================================== --- devel/pdcurses/Makefile +++ devel/pdcurses/Makefile @@ -18,9 +18,7 @@ USE_XORG= x11 xext sm ice xt xaw xmu xpm GNU_CONFIGURE= yes MAKE_JOBS_UNSAFE=yes -# requires directly-invoked linker to provide library search paths -LLD_UNSAFE= yes -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes # Needs linker to provide library search paths. WRKSRC_SUBDIR= x11 Index: irc/evangeline/Makefile =================================================================== --- irc/evangeline/Makefile +++ irc/evangeline/Makefile @@ -18,8 +18,7 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+=--with-tcllib=${LOCALBASE}/lib/libtcl${TCL_SHLIB_VER}.so \ --with-tclinc=${TCL_INCLUDEDIR}/tcl.h -# LLD_UNSAFE - requires directly-invoked linker to provide library search paths -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes # Needs linker to provide library search paths. PLIST_FILES= bin/evangeline Index: lang/myrddin/Makefile =================================================================== --- lang/myrddin/Makefile +++ lang/myrddin/Makefile @@ -20,9 +20,8 @@ TEST_TARGET= check WRKSRC= ${WRKDIR}/mc -# Myrddin is LLD_UNSAFE: # ld: error: : section sh_addralign is not a power of 2 -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes OPTIONS_DEFINE= DEBUG VIM OPTIONS_DEFAULT= VIM Index: multimedia/harvid/Makefile =================================================================== --- multimedia/harvid/Makefile +++ multimedia/harvid/Makefile @@ -18,7 +18,6 @@ USE_GITHUB= yes GH_ACCOUNT= x42 LLD_UNSAFE= yes -BINARY_ALIAS= ld=ld.bfd MAKE_JOBS_UNSAFE= yes # https://github.com/x42/harvid/issues/5 Index: sysutils/installwatch/Makefile =================================================================== --- sysutils/installwatch/Makefile +++ sysutils/installwatch/Makefile @@ -14,9 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_LDCONFIG= yes -# requires directly-invoked linker to provide library search paths -LLD_UNSAFE= yes -BINARY_ALIAS= ld=ld.bfd +LLD_UNSAFE= yes # Needs linker to provide library search paths. PLIST_FILES= bin/installwatch lib/installwatch.so PORTDOCS= BUGS CHANGELOG README TODO Index: www/mozplugger/Makefile =================================================================== --- www/mozplugger/Makefile +++ www/mozplugger/Makefile @@ -16,7 +16,6 @@ USES= desthack gmake webplugin:native USE_XORG= x11 xt LLD_UNSAFE= yes -BINARY_ALIAS= ld=ld.bfd WEBPLUGIN_FILES=mozplugger.so MAKE_ENV= WEBPLUGINS_DIR="${WEBPLUGIN_DIR}"