diff options
author | jperkin <jperkin@pkgsrc.org> | 2018-02-01 16:43:04 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2018-02-01 16:43:04 +0000 |
commit | 05021864c9ac922c63738cf5fcc4be1a2519c2c3 (patch) | |
tree | 419b5500555bcbe0ea024e4fd1a9903168c824ee /devel | |
parent | e2caa1264980efb3800639b48d255943c5d98012 (diff) | |
download | pkgsrc-05021864c9ac922c63738cf5fcc4be1a2519c2c3.tar.gz |
poco: Support newer GCC and clang on SunOS.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/poco/Makefile.common | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/devel/poco/Makefile.common b/devel/poco/Makefile.common index d3a852b5884..e6efe2d0ecb 100644 --- a/devel/poco/Makefile.common +++ b/devel/poco/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.13 2016/02/25 12:12:49 jperkin Exp $ +# $NetBSD: Makefile.common,v 1.14 2018/02/01 16:43:04 jperkin Exp $ # # used by devel/poco/Makefile # used by databases/poco-data/Makefile @@ -48,16 +48,14 @@ CONFIGURE_ARGS.NetBSD+= --no-sharedmemory .include "../../mk/compiler.mk" . if ${PKGSRC_COMPILER} == "sunpro" CONFIGURE_ARGS+= --config=SunOS-SunStudio -. elif ${PKGSRC_COMPILER} == "gcc" +. 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].*) +. if !empty(CC_VERSION:Mgcc-4.[6-9].*) || !empty(PKGSRC_COMPILER:Mclang) MAKE_ENV+= XOPEN_SOURCE=600 . else MAKE_ENV+= XOPEN_SOURCE=500 . endif -. else -CONFIGURE_ARGS+= --config=SunOS . endif .endif |