summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 e6efe2d0ecb..ac01ff8eb1d 100644
--- a/devel/poco/Makefile.common
+++ b/devel/poco/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2018/02/01 16:43:04 jperkin Exp $
+# $NetBSD: Makefile.common,v 1.15 2018/07/27 21:03:26 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(PKGSRC_COMPILER:Mclang)
+. if !empty(CC_VERSION:Mgcc-4.[6-9].*) || !empty(CC_VERSION:Mgcc-[5-9].*) || !empty(PKGSRC_COMPILER:Mclang)
MAKE_ENV+= XOPEN_SOURCE=600
. else
MAKE_ENV+= XOPEN_SOURCE=500