diff options
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 |