summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-12-19 19:44:38 +0100
committerMaciej Barć <xgqt@gentoo.org>2022-12-19 23:28:15 +0100
commit902fdc7a5f1247671bb6e4310ed420ac79aaa363 (patch)
treed880180e316768250abe8a7ebbaaca30cb33f8e2 /dev-libs/teakra/teakra-20220224.ebuild
parentsci-mathematics/libpoly: remove -Werror (diff)
downloadgentoo-902fdc7a5f1247671bb6e4310ed420ac79aaa363.tar.gz
gentoo-902fdc7a5f1247671bb6e4310ed420ac79aaa363.tar.bz2
gentoo-902fdc7a5f1247671bb6e4310ed420ac79aaa363.zip
dev-libs/teakra: remove -Werror
Closes: https://bugs.gentoo.org/887191 Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-libs/teakra/teakra-20220224.ebuild')
-rw-r--r--dev-libs/teakra/teakra-20220224.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/dev-libs/teakra/teakra-20220224.ebuild b/dev-libs/teakra/teakra-20220224.ebuild
index 33314aae07cb..9553e9149c97 100644
--- a/dev-libs/teakra/teakra-20220224.ebuild
+++ b/dev-libs/teakra/teakra-20220224.ebuild
@@ -16,6 +16,12 @@ LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+src_prepare() {
+ sed -i "s|-Werror||g" "${S}"/CMakeLists.txt || die
+
+ cmake_src_prepare
+}
+
src_configure() {
local mycmakeargs=(
-DCMAKE_SKIP_RPATH=ON