pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/apache24 apache24: Support GCC >= 10.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9e123c30f8eb
branches:  trunk
changeset: 459015:9e123c30f8eb
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Tue Sep 28 13:01:37 2021 +0000

description:
apache24: Support GCC >= 10.

diffstat:

 www/apache24/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 584ba4c92aa4 -r 9e123c30f8eb www/apache24/Makefile
--- a/www/apache24/Makefile     Tue Sep 28 13:00:46 2021 +0000
+++ b/www/apache24/Makefile     Tue Sep 28 13:01:37 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.101 2021/09/17 12:49:57 adam Exp $
+# $NetBSD: Makefile,v 1.102 2021/09/28 13:01:37 jperkin Exp $
 #
 # When updating this package, make sure that no strings like
 # "PR 12345" are in the commit message. Upstream likes
@@ -35,7 +35,7 @@
 .include "../../mk/compiler.mk"
 
 CFLAGS.SunOS+= -D__EXTENSIONS__
-.if !empty(CC_VERSION:Mgcc-[5-9]*) || !empty(PKGSRC_COMPILER:Mclang)
+.if !empty(CC_VERSION:Mgcc-[5-9]*) || !empty(CC_VERSION:Mgcc-1[0-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