pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/www/apache24
Module Name: pkgsrc
Committed By: jperkin
Date: Thu Jan 25 14:01:28 UTC 2018
Modified Files:
pkgsrc/www/apache24: Makefile
Log Message:
apache24: Extend _XOPEN_SOURCE workaround to clang.
To generate a diff of this commit:
cvs rdiff -u -r1.65 -r1.66 pkgsrc/www/apache24/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/www/apache24/Makefile
diff -u pkgsrc/www/apache24/Makefile:1.65 pkgsrc/www/apache24/Makefile:1.66
--- pkgsrc/www/apache24/Makefile:1.65 Mon Jan 1 21:18:55 2018
+++ pkgsrc/www/apache24/Makefile Thu Jan 25 14:01:27 2018
@@ -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=/nonex
.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
Home |
Main Index |
Thread Index |
Old Index