From 293af4163aee701db54111261a85a07f16cb831b Mon Sep 17 00:00:00 2001 From: jperkin Date: Thu, 25 Jan 2018 14:01:27 +0000 Subject: apache24: Extend _XOPEN_SOURCE workaround to clang. --- www/apache24/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'www') 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 -- cgit v1.2.3