summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Fabrizio Orsi <torsi@fi.uba.ar>2024-10-08 21:03:26 -0300
committerEli Schwartz <eschwartz@gentoo.org>2024-10-09 13:26:44 -0400
commit2b670ebb73327bcec92b0106d86abf76e7fab4d9 (patch)
tree04ad3aead8b1e8a023381107eb3d3e26108572e2 /net-libs/libpsl
parentgames-emulation/rmg: add 0.6.6 (diff)
downloadgentoo-2b670ebb73327bcec92b0106d86abf76e7fab4d9.tar.gz
gentoo-2b670ebb73327bcec92b0106d86abf76e7fab4d9.tar.bz2
gentoo-2b670ebb73327bcec92b0106d86abf76e7fab4d9.zip
net-libs/libpsl: Added static-libs flag
[Eli: This flag is useful to add because curl supports static-libs and depends on libpsl.] Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar> Closes: https://github.com/gentoo/gentoo/pull/38910 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'net-libs/libpsl')
-rw-r--r--net-libs/libpsl/libpsl-0.21.5.ebuild8
1 files changed, 7 insertions, 1 deletions
diff --git a/net-libs/libpsl/libpsl-0.21.5.ebuild b/net-libs/libpsl/libpsl-0.21.5.ebuild
index 797883568aa8..9ca8c1d70d9c 100644
--- a/net-libs/libpsl/libpsl-0.21.5.ebuild
+++ b/net-libs/libpsl/libpsl-0.21.5.ebuild
@@ -13,7 +13,7 @@ SRC_URI="https://github.com/rockdaboot/${PN}/releases/download/${PV}/${P}.tar.gz
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
-IUSE="icu +idn test"
+IUSE="icu +idn test static-libs"
RESTRICT="!test? ( test )"
RDEPEND="
@@ -58,5 +58,11 @@ multilib_src_configure() {
)
fi
+ if use static-libs ; then
+ emesonargs+=(
+ -Ddefault_library=both
+ )
+ fi
+
meson_src_configure
}