aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-cpp/trantor/trantor-1.5.8.ebuild5
1 files changed, 5 insertions, 0 deletions
diff --git a/dev-cpp/trantor/trantor-1.5.8.ebuild b/dev-cpp/trantor/trantor-1.5.8.ebuild
index f28b11d3f..9aad885bb 100644
--- a/dev-cpp/trantor/trantor-1.5.8.ebuild
+++ b/dev-cpp/trantor/trantor-1.5.8.ebuild
@@ -25,6 +25,11 @@ DEPEND="
"
BDEPEND="doc? ( app-doc/doxygen[dot] )"
+src_prepare() {
+ sed -i 's/ -Werror)$/)/' CMakeLists.txt || die "could not remove -Werror"
+ cmake_src_prepare
+}
+
src_configure() {
local -a mycmakeargs=(
"-DBUILD_SHARED_LIBS=YES"