From 84821ebd339ba2cb4998924e31196466c6a18880 Mon Sep 17 00:00:00 2001 From: James Le Cuirot Date: Sat, 14 Sep 2019 14:27:59 +0100 Subject: [PATCH] x11-libs/pixman: Reintroduce static-libs USE flag A couple of packages actually depend on this, even though it looks static libs have not been installed since the transition to Meson. The tree hasn't broken because they use [static-libs(+)]. Closes: https://bugs.gentoo.org/698548 Closes: https://github.com/gentoo/gentoo/pull/12925 Signed-off-by: James Le Cuirot Signed-off-by: Matt Turner --- x11-libs/pixman/pixman-9999.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/x11-libs/pixman/pixman-9999.ebuild b/x11-libs/pixman/pixman-9999.ebuild index ee4a7b6b0de5..296db0dbcb16 100644 --- a/x11-libs/pixman/pixman-9999.ebuild +++ b/x11-libs/pixman/pixman-9999.ebuild @@ -22,7 +22,7 @@ fi LICENSE="MIT" SLOT="0" -IUSE="cpu_flags_ppc_altivec cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 cpu_flags_arm_neon loongson2f cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3" +IUSE="cpu_flags_ppc_altivec cpu_flags_arm_iwmmxt cpu_flags_arm_iwmmxt2 cpu_flags_arm_neon loongson2f cpu_flags_x86_mmxext cpu_flags_x86_sse2 cpu_flags_x86_ssse3 static-libs" multilib_src_configure() { local openmp=disabled @@ -37,6 +37,7 @@ multilib_src_configure() { $(meson_feature cpu_flags_ppc_altivec vmx) $(meson_feature cpu_flags_arm_neon neon) $(meson_feature loongson2f loongson-mmi) + -Ddefault_library=$(usex static-libs both shared) -Dgtk=disabled -Dlibpng=disabled -Dopenmp=$openmp # only used in unit tests -- 2.26.2