pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/poco



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Feb  1 16:43:05 UTC 2018

Modified Files:
        pkgsrc/devel/poco: Makefile.common

Log Message:
poco: Support newer GCC and clang on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/devel/poco/Makefile.common

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/poco/Makefile.common
diff -u pkgsrc/devel/poco/Makefile.common:1.13 pkgsrc/devel/poco/Makefile.common:1.14
--- pkgsrc/devel/poco/Makefile.common:1.13      Thu Feb 25 12:12:49 2016
+++ pkgsrc/devel/poco/Makefile.common   Thu Feb  1 16:43:04 2018
@@ -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-sharedmemor
 .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
 



Home | Main Index | Thread Index | Old Index