summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2018-10-28 16:32:36 +0000
committerabs <abs@pkgsrc.org>2018-10-28 16:32:36 +0000
commit1e82474b42cff22ef7e32324aa9de374a80b5b45 (patch)
tree1c4aa54d587d4418fe14ac2f72fd5f3d3a4c9ba0 /textproc
parentca78b0c7c9a7ace33c2586cad532fd99bb68a729 (diff)
downloadpkgsrc-1e82474b42cff22ef7e32324aa9de374a80b5b45.tar.gz
Avoid erroring out due to multiple -Werror=parentheses with gcc8
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libodfgen/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/textproc/libodfgen/Makefile b/textproc/libodfgen/Makefile
index 2bc87f32b2e..c12a1fdaffe 100644
--- a/textproc/libodfgen/Makefile
+++ b/textproc/libodfgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2018/08/16 18:54:32 adam Exp $
+# $NetBSD: Makefile,v 1.19 2018/10/28 16:32:36 abs Exp $
DISTNAME= libodfgen-0.1.6
PKGREVISION= 7
@@ -27,6 +27,11 @@ CONFIGURE_ARGS+= --with-sharedptr=c++11
CONFIGURE_ARGS+= --with-sharedptr=tr1
.endif
+# Avoid erroring out due to multiple -Werror=parentheses with gcc8
+.if !empty(CC_VERSION:Mgcc-8*)
+CONFIGURE_ARGS+=--disable-werror
+.endif
+
.include "../../converters/libetonyek/buildlink3.mk"
.include "../../converters/librevenge/buildlink3.mk"
.include "../../converters/libwpd/buildlink3.mk"