pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/poco poco: Fix build with newer GCC on SunOS.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d935eb6e5ff4
branches: trunk
changeset: 383325:d935eb6e5ff4
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Fri Jul 27 21:03:26 2018 +0000
description:
poco: Fix build with newer GCC on SunOS.
diffstat:
devel/poco/Makefile.common | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 8505b43c9e2c -r d935eb6e5ff4 devel/poco/Makefile.common
--- a/devel/poco/Makefile.common Fri Jul 27 20:37:05 2018 +0000
+++ b/devel/poco/Makefile.common Fri Jul 27 21:03:26 2018 +0000
@@ -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 @@
. 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
Home |
Main Index |
Thread Index |
Old Index