From 8bddb0ba758783dc002178bd9d86d92cab7c05da Mon Sep 17 00:00:00 2001 From: Evgeniy Khramtsov Date: Tue, 27 Jul 2021 19:22:35 +0300 Subject: [PATCH] sysutils/pv: pass LD via MAKE_ENV /usr/bin/ld can be absent due to base built WITHOUT_LLD, external toolchain from ports can be installed instead. Respect $LD from environment, e.g. when /usr/local/share/toolchains/*.mk gets included: ld -r -o src/main.o src/main/debug.o src/main/help.o src/main/main.o src/main/options.o src/main/remote.o src/main/version.o gmake[2]: ld: No such file or directory gmake[2]: *** [Makefile:352: src/main.o] Error 127 --- sysutils/pv/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index 4e532ef91f69..d969e990f6f3 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -14,6 +14,7 @@ CONFLICTS= waon-[0-9]* USES= tar:bzip2 gmake GNU_CONFIGURE= yes +MAKE_ENV+= LD=${LD} PLIST_FILES= bin/pv man/man1/pv.1.gz -- 2.32.0