commit:     a0b4aaab8f9a80e819c6dd827497c8cd7ca62122
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 01:20:32 2025 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Jun 17 01:32:52 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0b4aaab

profiles: package.use.force x11-libs/fltk[static-libs]

Not ideal, but would rather not deal with this downstream, esp. if
going to modify exports which becomes bit of a Gentoo invention
(the *FLAGS bit from fltk-config that we need to do is already meh).

Could remove the USE entirely + enable, but use.force is a way to
show awareness of the issue (notably for QA checks), and still
allows to unforce for users that really do not want it.

Not overly necessary to force for old version too (pre-cmake), but
do it anyway for fltk-config.

At least, static-libs does not add notable space usage here.

If do not like this, please take it upstream and will update on bump.

Bug: https://bugs.gentoo.org/940572
Closes: https://github.com/gentoo/gentoo/pull/42633
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 profiles/base/package.use.force | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/profiles/base/package.use.force b/profiles/base/package.use.force
index 86d49ee850a8..833ae0b08bce 100644
--- a/profiles/base/package.use.force
+++ b/profiles/base/package.use.force
@@ -1,6 +1,15 @@
 # Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
+# Ionen Wolkens <[email protected]> (2025-06-17)
+# Build system currently does not allow static libs to be optional, and
+# deleting (as we do now) leaves both the cmake export and fltk-config
+# script unaware of the change and may cause problems. Will revisit if
+# improved upstream, would rather not invent a downstream solution.
+# https://bugs.gentoo.org/940572
+# https://github.com/gentoo/gentoo/pull/42633
+x11-libs/fltk static-libs
+
 # Sam James <[email protected]> (2025-06-05)
 # app-misc/ddcutil fails to build w/o USE=X as it always tries to include
 # <X11/Xlib.h>. See bug #950320 and 
https://github.com/rockowitz/ddcutil/issues/504

Reply via email to