summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-scheme/chez/chez-9.5.6-r2.ebuild')
-rw-r--r--dev-scheme/chez/chez-9.5.6-r2.ebuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/dev-scheme/chez/chez-9.5.6-r2.ebuild b/dev-scheme/chez/chez-9.5.6-r2.ebuild
index f9af30466ac7..2d285842d04d 100644
--- a/dev-scheme/chez/chez-9.5.6-r2.ebuild
+++ b/dev-scheme/chez/chez-9.5.6-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,12 +29,15 @@ DEPEND="${RDEPEND}"
src_prepare() {
tc-export AR CC CXX LD RANLIB
+ default
+
if use ncurses ; then
local nclibs="\"$($(tc-getPKG_CONFIG) --libs ncurses)\""
sed -i "s|ncursesLib=-lncurses|ncursesLib=${nclibs}|g" configure || die
fi
- default
+ # Remove -Werror
+ sed -i "/^C = /s|-Werror||g" c/Mf-* || die
}
src_configure() {