Page MenuHomeFreeBSD

Honor STRIP for rubygems with C extensions
AbandonedPublic

Authored by asomers on Jan 30 2018, 9:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jan 15, 7:11 PM
Unknown Object (File)
Thu, Jan 8, 4:29 AM
Unknown Object (File)
Mon, Jan 5, 4:28 PM
Unknown Object (File)
Nov 25 2025, 5:06 AM
Unknown Object (File)
Nov 24 2025, 9:39 PM
Unknown Object (File)
Nov 20 2025, 8:33 AM
Unknown Object (File)
Oct 10 2025, 9:59 PM
Unknown Object (File)
Sep 24 2025, 9:12 PM
Subscribers

Details

Reviewers
swills
Group Reviewers
O5: Ports Framework(Owns No Changed Paths)
portmgr
Summary

Honor STRIP for rubygems with C extensions

Ports should not strip rubygems' C extensions when STRIP=0

Test Plan

build devel/rubygem-json with STRIP=0 and with STRIP undefined. In the
former case, the .so files should not be stripped. In the latter case, they
should be.

Diff Detail

Repository
rP FreeBSD ports repository
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 14682
Build 14809: arc lint + arc unit

Event Timeline

You should use WITH_DEBUG or WITH_DEBUG _PORTS which will do the right thing.

So is it not supported for users to define STRIP in make.conf?

I don't think so. The documented way is to use WITH_DEBUG or WITH_DEBUG_PORTS.