summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2023-05-09 18:40:12 -0400
committerSam James <sam@gentoo.org>2023-05-10 02:26:58 +0100
commit46f7da87b8160cd6d809c568270b2857f67a8d35 (patch)
tree4048dc3225b63043c5bbf357a2380d0c03f0fe1b /www-client
parentmedia-tv/kodi: fix build with USE vaapi with GCC 13 (diff)
downloadgentoo-46f7da87b8160cd6d809c568270b2857f67a8d35.tar.gz
gentoo-46f7da87b8160cd6d809c568270b2857f67a8d35.tar.bz2
gentoo-46f7da87b8160cd6d809c568270b2857f67a8d35.zip
www-client/elinks: fix compilation with USE="-nls"
USE="-nls" indicates no nls/gettext, so we should pass -Dgettext=false in that case. Bug: https://bugs.gentoo.org/888952 Signed-off-by: Felix Janda <felix.janda@posteo.de> Closes: https://github.com/gentoo/gentoo/pull/30963 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'www-client')
-rw-r--r--www-client/elinks/elinks-0.16.1.1-r1.ebuild2
-rw-r--r--www-client/elinks/elinks-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/www-client/elinks/elinks-0.16.1.1-r1.ebuild b/www-client/elinks/elinks-0.16.1.1-r1.ebuild
index 298434da8a24..12588d437631 100644
--- a/www-client/elinks/elinks-0.16.1.1-r1.ebuild
+++ b/www-client/elinks/elinks-0.16.1.1-r1.ebuild
@@ -88,7 +88,7 @@ src_configure() {
$(meson_use ftp)
-Dfsp=false
-Dgemini=false
- -Dgettext=true
+ $(meson_use nls gettext)
$(meson_use gopher)
$(meson_use gpm)
$(meson_use guile)
diff --git a/www-client/elinks/elinks-9999.ebuild b/www-client/elinks/elinks-9999.ebuild
index 180537f142e7..9261011bf874 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-9999.ebuild
@@ -88,7 +88,7 @@ src_configure() {
$(meson_use ftp)
-Dfsp=false
-Dgemini=false
- -Dgettext=true
+ $(meson_use nls gettext)
$(meson_use gopher)
$(meson_use gpm)
$(meson_use guile)