summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2023-05-15 20:36:24 +0200
committerMaciej Barć <xgqt@gentoo.org>2023-05-15 21:08:15 +0200
commitebc63d5754c1e3d885ee0b47743a274fb0e0da45 (patch)
treeac1ec8bac5053a959b060e2f1f576fa7576f09d4 /dev-lang/fennel
parentdev-lang/eisl: remove hardcoded FORTIFY_SOURCE (diff)
downloadgentoo-ebc63d5754c1e3d885ee0b47743a274fb0e0da45.tar.gz
gentoo-ebc63d5754c1e3d885ee0b47743a274fb0e0da45.tar.bz2
gentoo-ebc63d5754c1e3d885ee0b47743a274fb0e0da45.zip
dev-lang/fennel: disable broken tests
Closes: https://bugs.gentoo.org/906351 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-lang/fennel')
-rw-r--r--dev-lang/fennel/fennel-1.3.0.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-lang/fennel/fennel-1.3.0.ebuild b/dev-lang/fennel/fennel-1.3.0.ebuild
index 8810a98fa0cb..0723a737c2b2 100644
--- a/dev-lang/fennel/fennel-1.3.0.ebuild
+++ b/dev-lang/fennel/fennel-1.3.0.ebuild
@@ -27,6 +27,13 @@ REQUIRED_USE="${LUA_REQUIRED_USE}"
RDEPEND="${LUA_DEPS}"
BDEPEND="${RDEPEND}"
+src_prepare() {
+ default
+
+ # Turn off broken(?) tests. bug https://bugs.gentoo.org/906351
+ sed -i -e 's|"failures",||' -e 's|"repl",||' test/init.lua || die
+}
+
src_install() {
emake LUA_LIB_DIR="${ED}/$(lua_get_lmod_dir)" PREFIX="${ED}/usr" install