Page MenuHomeFreeBSD

cmake: Do not rely on ${STRIP} for debugging
ClosedPublic

Authored by mva on Sep 30 2014, 7:07 AM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Nov 27, 8:17 PM
Unknown Object (File)
Nov 25 2025, 1:32 AM
Unknown Object (File)
Nov 24 2025, 3:46 AM
Unknown Object (File)
Nov 7 2025, 10:28 PM
Unknown Object (File)
Oct 31 2025, 7:23 AM
Unknown Object (File)
Oct 29 2025, 9:18 PM
Unknown Object (File)
Oct 26 2025, 7:23 PM
Unknown Object (File)
Oct 18 2025, 1:44 AM
Subscribers

Details

Reviewers
makc
bapt
Group Reviewers
portmgr
kde
Summary

bsd.ports.mk sets STRIP= after all Uses files have been processed initially.
If you have WITH_DEBUG=yes set, cmake's INSTALL_TARGET has been set already to
install/strip, before STRIP is reset.

The quick fix also evaluates WITH_DEBUG, which should be checked anyways,
since this is the correct user-settable argument, that should have precedence
over implementation details of bsd.port.mk.

Test:

/usr/ports/graphics/openshadinglanguage # make -VWITH_DEBUG -VINSTALL_TARGET
yes
install/strip

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

mva retitled this revision from to cmake: Do not rely on ${STRIP} for debugging.
mva updated this object.
mva edited the test plan for this revision. (Show Details)
mva added reviewers: portmgr, kde.
mva edited edge metadata.
makc added a reviewer: makc.
makc added a subscriber: makc.

looks ok.

bapt added a reviewer: bapt.
This revision is now accepted and ready to land.Oct 2 2014, 7:22 AM