git: 8a9ab8fccf5d - main - sysutils/pv: pass LD via MAKE_ENV

Ganael LAPLANCHE martymac at FreeBSD.org
Wed Jul 28 09:22:10 UTC 2021


The branch main has been updated by martymac:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8a9ab8fccf5d9531fa4b8a52b50cef0b11687072

commit 8a9ab8fccf5d9531fa4b8a52b50cef0b11687072
Author:     Ganael LAPLANCHE <martymac at FreeBSD.org>
AuthorDate: 2021-07-28 09:17:07 +0000
Commit:     Ganael LAPLANCHE <martymac at FreeBSD.org>
CommitDate: 2021-07-28 09:17:07 +0000

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


More information about the dev-commits-ports-main mailing list