Bug 205061 - INSTALL_TARGET=install-strip doesn't work for USES=python projects
Summary: INSTALL_TARGET=install-strip doesn't work for USES=python projects
Status: Closed Not A Bug
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: 2015-12-06 13:54 UTC by Yuri Victorovich
Modified: 2015-12-06 14:23 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuri Victorovich freebsd_committer freebsd_triage 2015-12-06 13:54:12 UTC
I had to manually strip here:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=205060
even though 'make stage' command recommended to use INSTALL_TARGET=install-strip.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2015-12-06 14:18:24 UTC
Another example is devel/py-cffi
Comment 2 Antoine Brodin freebsd_committer freebsd_triage 2015-12-06 14:20:58 UTC
You misread the message, it is:

"consider trying  INSTALL_TARGET=install-strip or using ${STRIP_CMD}"

INSTALL_TARGET=install-strip is usually for autoconf based ports.

If it doesn't work you can still run ${STRIP_CMD} in post-install.
Comment 3 Yuri Victorovich freebsd_committer freebsd_triage 2015-12-06 14:23:25 UTC
I think this should be made into USE_PYTHON+=strip

I will submit a patch