pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/libodfgen Avoid erroring out due to multiple ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/3934b92b36b6
branches:  trunk
changeset: 324753:3934b92b36b6
user:      abs <abs%pkgsrc.org@localhost>
date:      Sun Oct 28 16:32:36 2018 +0000

description:
Avoid erroring out due to multiple -Werror=parentheses with gcc8

diffstat:

 textproc/libodfgen/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r a7189b09e0bd -r 3934b92b36b6 textproc/libodfgen/Makefile
--- a/textproc/libodfgen/Makefile       Sun Oct 28 16:17:19 2018 +0000
+++ b/textproc/libodfgen/Makefile       Sun Oct 28 16:32:36 2018 +0000
@@ -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=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"



Home | Main Index | Thread Index | Old Index