[Bug 281827] www/rubygem-rails70: Add flavors to deal with x11
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 03 Oct 2024 01:47:00 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=281827 Bug ID: 281827 Summary: www/rubygem-rails70: Add flavors to deal with x11 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: fsbruva@yahoo.com Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Problem: The recent additions of x11/nox11 flavors to graphics/rubygem-image_processing (and mini_magick4 & ruby-vips) has made it more difficult to only build the nox11 version of packages. Proposal: Extend the flavoring to the rubygem-rails70 port, so that ports that depend on rubygem-rails can articulate which flavor they want, and it minimizes the total build. As the PKGNAMESUFFIX is already in use for this port, that same PKGNAMSUFFIX cannot be passed to rubygem-image_processing. This is because the build will fail with no port named rubygem-image_processing70-nox11. Alternative approaches considered: I considered adding an X11 option instead, but my ideal is that the highest level port (gitlab, in this case), has the option, and then can specify the desired flavor on ALL dependent ports to ensure alignment. I will include two patches - one for the preferred approach, which is to flavorize rubygems-rails so that it Just Works (tm). The other patch is for the more unwieldly approach of adding an option that puts the alignment burden on the user's config. -- You are receiving this mail because: You are the assignee for the bug.