[Bug 284757] Mk/Uses/cabal.mk: support for USE_CABAL in separate Makefile.modules

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 15 Feb 2025 19:20:13 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284757

--- Comment #2 from Älven <alster@vinterdalen.se> ---
In reply to Gleb Popov from comment #1)
> On the other hand, only 2 ports in the tree are currently using this approach.
It's a chicken-and-egg problem: I hope many (maybe, all) haskell ports will
benefit from moving large USE_CABAL stances to separate module files to not to
clutter main Makefiles, just the feature needed to come first, and they will
follow.

> The same feature would also be useful for Rust (and probably Go) ports
Rust support is already in the tree [0]. Go ports may also follow if they like
to.

> If you want to push this further, I'd recommend adding Rust support and putting the patch on Phabricator for the portmgr group to review.
Sorry, as a non-committer I have no access to Phabricator. Would you mind to do
this yourself, please? I may think you also would be interested to have this
land in the tree…

[0] https://cgit.freebsd.org/ports/tree/Mk/Uses/cargo.mk#n17

-- 
You are receiving this mail because:
You are the assignee for the bug.