commit: 13588181c576ea61b30b6a8bf5ee4ce586ab835d
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 4 16:54:10 2025 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Tue Feb 4 16:58:18 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13588181
www-client/elinks: Add doc USE flag
elinks needs to be executed during the build to generate some of the
documentation, which breaks cross-compiling. This works around it. Perl is
needed to execute the help2xml script.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
www-client/elinks/elinks-0.18.0.ebuild | 4 +++-
www-client/elinks/elinks-9999.ebuild | 4 +++-
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/www-client/elinks/elinks-0.18.0.ebuild
b/www-client/elinks/elinks-0.18.0.ebuild
index 0c212218bb7d..739024d9aa3f 100644
--- a/www-client/elinks/elinks-0.18.0.ebuild
+++ b/www-client/elinks/elinks-0.18.0.ebuild
@@ -24,7 +24,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="bittorrent brotli bzip2 curl debug finger ftp gemini gopher gpm gnutls
guile idn"
+IUSE="bittorrent brotli bzip2 curl debug +doc finger ftp gemini gopher gpm
gnutls guile idn"
IUSE+=" javascript libcss lua lzma +mouse nls nntp perl python samba sftp ssl
test tre unicode X xml zlib zstd"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -75,6 +75,7 @@ DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )"
BDEPEND="
virtual/pkgconfig
+ doc? ( dev-lang/perl )
nls? ( sys-devel/gettext )
test? (
net-dns/libidn
@@ -123,6 +124,7 @@ src_configure() {
$(meson_use bzip2 bzlib)
$(meson_use curl libcurl)
$(usex debug '-Ddebug=true' '-Dfastmem=true')
+ $(meson_use doc)
$(meson_use finger)
$(meson_use ftp)
-Dfsp=false
diff --git a/www-client/elinks/elinks-9999.ebuild
b/www-client/elinks/elinks-9999.ebuild
index 780dfce3fd3a..d5826981e998 100644
--- a/www-client/elinks/elinks-9999.ebuild
+++ b/www-client/elinks/elinks-9999.ebuild
@@ -24,7 +24,7 @@ fi
LICENSE="GPL-2"
SLOT="0"
-IUSE="bittorrent brotli bzip2 curl debug finger ftp gemini gopher gpm gnutls
guile idn"
+IUSE="bittorrent brotli bzip2 curl debug +doc finger ftp gemini gopher gpm
gnutls guile idn"
IUSE+=" javascript libcss lua lzma +mouse nls nntp perl python samba sftp ssl
test tre unicode X xml zlib zstd"
RESTRICT="!test? ( test )"
REQUIRED_USE="
@@ -75,6 +75,7 @@ DEPEND="${RDEPEND}
X? ( x11-base/xorg-proto )"
BDEPEND="
virtual/pkgconfig
+ doc? ( dev-lang/perl )
nls? ( sys-devel/gettext )
test? (
net-dns/libidn
@@ -118,6 +119,7 @@ src_configure() {
$(meson_use bzip2 bzlib)
$(meson_use curl libcurl)
$(usex debug '-Ddebug=true' '-Dfastmem=true')
+ $(meson_use doc)
$(meson_use finger)
$(meson_use ftp)
-Dfsp=false