Bug 269741 - Ports system does not set STRIPBIN from STRIP_CMD
Summary: Ports system does not set STRIPBIN from STRIP_CMD
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-21 18:27 UTC by Thomas Hurst
Modified: 2023-02-22 11:55 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Hurst 2023-02-21 18:27:43 UTC
${INSTALL_PROGRAM} strips executables by way of install(1)'s ${STRIPBIN} variable.  This is conditionally set by /usr/share/mk/sys.mk to 'strip'.

The ports framework however only sets ${STRIPBIN} to ${STRIP_CMD} if CROSS_TOOLCHAIN is set, so in the typical case install(1) ignores the setting.
Comment 1 Fernando Apesteguía freebsd_committer freebsd_triage 2023-02-22 11:55:38 UTC
For more context, see bug #269443