Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Jul 2021 09:22:09 GMT
From:      Ganael LAPLANCHE <martymac@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8a9ab8fccf5d - main - sysutils/pv: pass LD via MAKE_ENV
Message-ID:  <202107280922.16S9M9nV005527@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by martymac:

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

commit 8a9ab8fccf5d9531fa4b8a52b50cef0b11687072
Author:     Ganael LAPLANCHE <martymac@FreeBSD.org>
AuthorDate: 2021-07-28 09:17:07 +0000
Commit:     Ganael LAPLANCHE <martymac@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202107280922.16S9M9nV005527>