diff options
author | Maciej Barć <xgqt@gentoo.org> | 2022-02-16 11:49:13 +0100 |
---|---|---|
committer | Maciej Barć <xgqt@gentoo.org> | 2022-02-16 11:49:31 +0100 |
commit | ce4531fbdfa56d1398dd3dd69e3eddbe1f17f14c (patch) | |
tree | f9366ede9e5a9242aa337c05def52637909cf118 /dev-scheme/chez | |
parent | sci-chemistry/gromacs: Cleanup (diff) | |
download | gentoo-ce4531fbdfa56d1398dd3dd69e3eddbe1f17f14c.tar.gz gentoo-ce4531fbdfa56d1398dd3dd69e3eddbe1f17f14c.tar.bz2 gentoo-ce4531fbdfa56d1398dd3dd69e3eddbe1f17f14c.zip |
dev-scheme/chez: remove -Werror
Closes: https://bugs.gentoo.org/833467
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-scheme/chez')
-rw-r--r-- | dev-scheme/chez/chez-9.5.6-r2.ebuild | 7 |
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() { |