[Bug 257461] sysutils/pv: pass LD via MAKE_ENV

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 27 Jul 2021 20:14:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257461

            Bug ID: 257461
           Summary: sysutils/pv: pass LD via MAKE_ENV
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Keywords: patch
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: martymac@FreeBSD.org
          Reporter: evgeniy@khramtsov.org
             Flags: maintainer-feedback?(martymac@FreeBSD.org)
          Assignee: martymac@FreeBSD.org
             Flags: maintainer-feedback?

Created attachment 226745
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=226745&action=edit
v1 (use "git am"

/usr/bin/ld can be absent due to base built WITHOUT_LLD,
external toolchain from ports can be installed instead.

Respect $LD from environment, e.g. when
/usr/local/share/toolchains/*.mk gets included:

ld -r -o src/main.o  src/main/debug.o src/main/help.o src/main/main.o
src/main/options.o src/main/remote.o src/main/version.o
gmake[2]: ld: No such file or directory
gmake[2]: *** [Makefile:352: src/main.o] Error 127

Tier-1 architectures poudriere testport (use "zstdless"):
(ports 84d321345931f4c748d62c104aa536e0fce24295 Tue Jul 27 15:37:24 2021 -0400)

11.4/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_114-amd64.log.zst
11.4/i386: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_114-i386.log.zst
12.2/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_122-amd64.log.zst
12.2/i386: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_122-i386.log.zst
13.0/amd64: OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_130-amd64.log.zst
13.0/aarch64 (qemu-user-static): OK
https://codeberg.org/ei/misc/raw/branch/main/poudriere/pv-1.6.6_130-aarch64.log.zst

Runtime on 14-CURRENT base fork + ports fork: OK.

PORTREVISION is not bumped because files of package did not change, only
manifest with ports tree hash:

(root of extracted package, git repo initialized before patch) $ git diff

modified:   +COMPACT_MANIFEST
modified:   +MANIFEST

-- 
You are receiving this mail because:
You are the assignee for the bug.