Page MenuHomeFreeBSD

Add FLAVOR support for ruby- ports
Needs ReviewPublic

Authored by swills on Dec 2 2017, 3:32 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Mar 15, 11:16 AM
Unknown Object (File)
Jan 15 2024, 3:32 AM
Unknown Object (File)
Dec 31 2023, 6:42 AM
Unknown Object (File)
Dec 29 2023, 4:00 AM
Unknown Object (File)
Dec 27 2023, 1:42 AM
Unknown Object (File)
Dec 20 2023, 1:07 PM
Unknown Object (File)
Nov 30 2023, 2:42 AM
Unknown Object (File)
Nov 7 2023, 4:05 AM

Details

Reviewers
None
Group Reviewers
portmgr
Summary

Add support to bsd.ruby.mk for FLAVORS of ruby- ports. Note that flavors for
rubygem- ports are separate, although this does add flavors for devel/ruby-gems
as both an example and prerequisite for rubygem- FLAVORS.

Test Plan

Manual testing

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 26648
Build 25022: arc lint + arc unit

Event Timeline

Minor fixup and add support for rubygem- flavors

Check USES is set before referencing it

Remove USES check since it breaks index

devel/ruby-gems/Makefile
63–67 ↗(On Diff #36112)

This could probably be better handled with USES=uniquefiles, no ?

swills added inline comments.
devel/ruby-gems/Makefile
63–67 ↗(On Diff #36112)

After discussion elsewhere (irc), uniquefiles doesn't seem like the right solution here.

This is work in progress at the moment. The ruby- flavors seem fine. Started on the rubygem- flavors, but am running into an issue. I started with devel/rubygem-glib2 as an example port to test the deps. All the flavors of devel/rubygem-pkg-config build fine on all versions. The issue I'm running into is that for devel/rubygem-native-package-installer, the rubygem24 and rubygem26 flavors fail on 11.2 in poudriere. The issue seems to be an error with make, tho I'm not sure as it's hard to track down. I'll do some more testing, but wanted to share what I've done so far for others to review.