aboutsummaryrefslogtreecommitdiff
path: root/sysutils/pv
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2021-07-28 09:17:07 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2021-07-28 09:17:07 +0000
commit8a9ab8fccf5d9531fa4b8a52b50cef0b11687072 (patch)
tree5abe3914168405c09fe964a56437ebc39dc9e6d4 /sysutils/pv
parent2f4791c65b5934c4c9569555db8a26d37288cdd7 (diff)
downloadports-8a9ab8fccf5d9531fa4b8a52b50cef0b11687072.tar.gz
ports-8a9ab8fccf5d9531fa4b8a52b50cef0b11687072.zip
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 <evgeniy AT khramtsov.org>
Diffstat (limited to 'sysutils/pv')
-rw-r--r--sysutils/pv/Makefile4
1 files changed, 3 insertions, 1 deletions
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