summaryrefslogtreecommitdiff
path: root/www/apache24
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-10-16 18:55:59 +0000
committerjperkin <jperkin@pkgsrc.org>2017-10-16 18:55:59 +0000
commit3d2ea617067ae7102bb0d1bcc39975da1ad430d0 (patch)
treec9df105425024b488c317eb86a99a717e80a75ef /www/apache24
parent833c4d5463d4a63482d3825e278a7dac2de33a9d (diff)
downloadpkgsrc-3d2ea617067ae7102bb0d1bcc39975da1ad430d0.tar.gz
apache24: Extend SunOS workaround to GCC 6.x.
Diffstat (limited to 'www/apache24')
-rw-r--r--www/apache24/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index e7165a76210..22be0217f2b 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.62 2017/10/06 06:22:05 adam Exp $
+# $NetBSD: Makefile,v 1.63 2017/10/16 18:55:59 jperkin Exp $
#
# When updating this package, make sure that no strings like
# "PR 12345" are in the commit message. Upstream likes
@@ -36,7 +36,7 @@ CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent
.include "../../mk/compiler.mk"
CFLAGS.SunOS+= -D__EXTENSIONS__
-.if !empty(CC_VERSION:Mgcc-[7-9]*)
+.if !empty(CC_VERSION:Mgcc-[6-9]*)
CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
.else
CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1