From 8a9ab8fccf5d9531fa4b8a52b50cef0b11687072 Mon Sep 17 00:00:00 2001 From: Ganael LAPLANCHE Date: Wed, 28 Jul 2021 11:17:07 +0200 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. While here, reorder USES. PR: 257461 Reported by: Evgeniy Khramtsov --- sysutils/pv/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sysutils/pv/Makefile b/sysutils/pv/Makefile index 4e532ef91f69..aae7d1221c17 100644 --- a/sysutils/pv/Makefile +++ b/sysutils/pv/Makefile @@ -10,10 +10,12 @@ COMMENT= Pipe throughput monitor LICENSE= ART20 +USES= tar:bzip2 gmake + CONFLICTS= waon-[0-9]* -USES= tar:bzip2 gmake GNU_CONFIGURE= yes +MAKE_ENV+= LD=${LD} PLIST_FILES= bin/pv man/man1/pv.1.gz