summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2018-07-27 21:03:26 +0000
committerjperkin <jperkin@pkgsrc.org>2018-07-27 21:03:26 +0000
commitb3593061fa115d5bb77064db43055679d5742295 (patch)
tree388b614536b1fd6d33995d6f129928615bf3eee7
parent01d296d407c6ba411e3aac3f60a6f8dd9a394c57 (diff)
downloadpkgsrc-b3593061fa115d5bb77064db43055679d5742295.tar.gz
poco: Fix build with newer GCC on SunOS.
-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