summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authorabs <abs@pkgsrc.org>2018-10-29 14:41:56 +0000
committerabs <abs@pkgsrc.org>2018-10-29 14:41:56 +0000
commit8da0d1125640bdb4d59ebde1389217ae378122f8 (patch)
tree2134643c1bfc1918d131c1996127a77920afef0f /textproc
parent96465dcf5636f0458a396fe86774690cd4232b9c (diff)
downloadpkgsrc-8da0d1125640bdb4d59ebde1389217ae378122f8.tar.gz
Adjust CC_VERSION check from gcc-8* to gcc-[89]*
Diffstat (limited to 'textproc')
-rw-r--r--textproc/libodfgen/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/textproc/libodfgen/Makefile b/textproc/libodfgen/Makefile
index c12a1fdaffe..e4d55b7d0ea 100644
--- a/textproc/libodfgen/Makefile
+++ b/textproc/libodfgen/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2018/10/28 16:32:36 abs Exp $
+# $NetBSD: Makefile,v 1.20 2018/10/29 14:42:19 abs Exp $
DISTNAME= libodfgen-0.1.6
PKGREVISION= 7
@@ -28,7 +28,7 @@ CONFIGURE_ARGS+= --with-sharedptr=tr1
.endif
# Avoid erroring out due to multiple -Werror=parentheses with gcc8
-.if !empty(CC_VERSION:Mgcc-8*)
+.if !empty(CC_VERSION:Mgcc-[89]*)
CONFIGURE_ARGS+=--disable-werror
.endif