summaryrefslogtreecommitdiff
path: root/www/apache24/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'www/apache24/Makefile')
-rw-r--r--www/apache24/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/apache24/Makefile b/www/apache24/Makefile
index e81b4203d84..56b881c4327 100644
--- a/www/apache24/Makefile
+++ b/www/apache24/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.65 2018/01/01 21:18:55 adam Exp $
+# $NetBSD: Makefile,v 1.66 2018/01/25 14:01:27 jperkin Exp $
#
# When updating this package, make sure that no strings like
# "PR 12345" are in the commit message. Upstream likes
@@ -37,7 +37,7 @@ CONFIGURE_ENV+= ac_cv_path_RSYNC=/nonexistent
.include "../../mk/compiler.mk"
CFLAGS.SunOS+= -D__EXTENSIONS__
-.if !empty(CC_VERSION:Mgcc-[6-9]*)
+.if !empty(CC_VERSION:Mgcc-[6-9]*) || !empty(PKGSRC_COMPILER:Mclang)
CFLAGS.SunOS+= -D_XOPEN_SOURCE=600
.else
CFLAGS.SunOS+= -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED=1