Bug 269741

Summary: Ports system does not set STRIPBIN from STRIP_CMD
Product: Ports & Packages Reporter: Thomas Hurst <tom>
Component: Ports FrameworkAssignee: Port Management Team <portmgr>
Status: Open ---    
Severity: Affects Only Me CC: fernape, ports-bugs
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269443

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