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>
This commit is contained in:
Ganael LAPLANCHE 2021-07-28 11:17:07 +02:00
parent 2f4791c65b
commit 8a9ab8fccf

View File

@ -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