Page MenuHomeFreeBSD

bsd.port.mk: do not define STRIP in the configure or build environments
AcceptedPublic

Authored by royger on Jun 23 2026, 7:59 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Aug 21, 1:33 AM
Unknown Object (File)
Thu, Aug 20, 4:52 AM
Unknown Object (File)
Thu, Aug 13, 2:58 AM
Unknown Object (File)
Mon, Aug 10, 2:20 PM
Unknown Object (File)
Sat, Aug 8, 6:10 PM
Unknown Object (File)
Sat, Aug 8, 7:10 AM
Unknown Object (File)
Wed, Aug 5, 2:38 PM
Unknown Object (File)
Aug 1 2026, 9:50 PM
Subscribers
None

Details

Reviewers
fuz
Group Reviewers
portmgr
Summary

STRIP has a different meaning when using bsd.lib.mk, and hence defining it as the path to the strip binary in the environment causes existing ports to break. Revert part of cb0504025c42 and define the path to the strip binary using STRIP_CMD instead of plain STRIP.

Fixes: cb0504025c42 ("bsd.port.mk: also export GNU strip when USE_BINUTILS is set")

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

Looks good to me. I think portmgr needs to be looped in, too.

This revision is now accepted and ready to land.Jun 23 2026, 8:46 AM

Done, was waiting to add them to confirm you think this is the right fix.