summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-12-31 21:08:57 +0000
committerSam James <sam@gentoo.org>2022-12-31 21:08:57 +0000
commit032ff4acf3b23136f91f857252ff14abbf724aef (patch)
tree91a6332ce3408fbca7b8460495dd25327f433568
parentqmail.eclass: remove remnants of USE=pop3 (diff)
downloadgentoo-032ff4acf3b23136f91f857252ff14abbf724aef.tar.gz
gentoo-032ff4acf3b23136f91f857252ff14abbf724aef.tar.bz2
gentoo-032ff4acf3b23136f91f857252ff14abbf724aef.zip
www-client/elinks: fix tests, add mujs support
Closes: https://bugs.gentoo.org/797427 Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r--profiles/base/package.use.mask4
-rw-r--r--www-client/elinks/elinks-0.16.0.ebuild8
2 files changed, 6 insertions, 6 deletions
diff --git a/profiles/base/package.use.mask b/profiles/base/package.use.mask
index 9b064ee72495..2372e6bf2f5e 100644
--- a/profiles/base/package.use.mask
+++ b/profiles/base/package.use.mask
@@ -11,10 +11,6 @@
# fragility to Portage which relies on pax-utils' scanelf heavily. bug #815877.
app-misc/pax-utils seccomp
-# Sam James <sam@gentoo.org> (2022-12-29)
-# Needs yet-unpackaged libxmlpp-5.0, bug #888898
-www-client/elinks javascript
-
# Ionen Wolkens <ionen@gentoo.org> (2022-12-29)
# Blocks eventual cleanup of <dev-util/glslang-1.3.231, and the same
# functionality can be got through USE=shaderc without direct usage.
diff --git a/www-client/elinks/elinks-0.16.0.ebuild b/www-client/elinks/elinks-0.16.0.ebuild
index 4c021b32fc24..c6a436b48a77 100644
--- a/www-client/elinks/elinks-0.16.0.ebuild
+++ b/www-client/elinks/elinks-0.16.0.ebuild
@@ -24,8 +24,7 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="bittorrent brotli bzip2 debug finger ftp gopher gpm gnutls guile idn"
IUSE+=" javascript lua lzma +mouse nls nntp perl samba ssl test tre unicode X xml zlib zstd"
-# tests restricted for https://github.com/rkd77/elinks/issues/203
-RESTRICT="!test? ( test ) test"
+RESTRICT="!test? ( test )"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
RDEPEND="
@@ -65,6 +64,11 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-tests.patch
+ "${FILESDIR}"/${PN}-0.16.0-fix-build-mujs.patch
+)
+
pkg_setup() {
use lua && lua-single_pkg_setup