summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2021-09-28 12:55:12 +0000
committerjperkin <jperkin@pkgsrc.org>2021-09-28 12:55:12 +0000
commitb11839e6e1747fe8c7ff68d91f1d6da006090d99 (patch)
tree60afa85ed071a18213c6b1ccd0ed98a3255e77a1
parentf7c864a0beef6e143bfbba5fcc3a587d6fe5e861 (diff)
downloadpkgsrc-b11839e6e1747fe8c7ff68d91f1d6da006090d99.tar.gz
poco: Support GCC >= 10.
-rw-r--r--devel/poco/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/devel/poco/Makefile.common b/devel/poco/Makefile.common
index a4d684f7cf8..3193e292e7e 100644
--- a/devel/poco/Makefile.common
+++ b/devel/poco/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.17 2019/11/24 01:03:28 gdt Exp $
+# $NetBSD: Makefile.common,v 1.18 2021/09/28 12:55:12 jperkin Exp $
#
# used by devel/poco/Makefile
# used by databases/poco-data/Makefile
@@ -51,7 +51,7 @@ CONFIGURE_ARGS+= --config=SunOS-SunStudio
. else
CONFIGURE_ARGS+= --config=SunOS-GCC
# GCC 4.6 and newer forces c99 for C++, need _XOPEN_SOURCE=600
-. if !empty(CC_VERSION:Mgcc-4.[6-9].*) || !empty(CC_VERSION:Mgcc-[5-9].*) || !empty(PKGSRC_COMPILER:Mclang)
+. if !empty(CC_VERSION:Mgcc-4.[6-9].*) || !empty(CC_VERSION:Mgcc-[5-9].*) || !empty(CC_VERSION:Mgcc-1[0-9].*) || !empty(PKGSRC_COMPILER:Mclang)
MAKE_ENV+= XOPEN_SOURCE=600
. else
MAKE_ENV+= XOPEN_SOURCE=500