pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/libodfgen



Module Name:    pkgsrc
Committed By:   abs
Date:           Sun Oct 28 16:32:36 UTC 2018

Modified Files:
        pkgsrc/textproc/libodfgen: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/textproc/libodfgen/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/libodfgen/Makefile
diff -u pkgsrc/textproc/libodfgen/Makefile:1.18 pkgsrc/textproc/libodfgen/Makefile:1.19
--- pkgsrc/textproc/libodfgen/Makefile:1.18     Thu Aug 16 18:54:32 2018
+++ pkgsrc/textproc/libodfgen/Makefile  Sun Oct 28 16:32:36 2018
@@ -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"



Home | Main Index | Thread Index | Old Index