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:   gdt
Date:           Sun Nov 24 01:03:28 UTC 2019

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

Log Message:
devel/poco: Fix compiler check via pkglint

AUTOFIX: Makefile.common:49: Replacing "${PKGSRC_COMPILER} == \"sunpro\"" with "${PKGSRC_COMPILER:Msunpro}".

        The PKGSRC_COMPILER can be a list of chained compilers, e.g. "ccache
        distcc clang". Therefore, comparing it using == or != leads to wrong
        results in these cases.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 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.16 pkgsrc/devel/poco/Makefile.common:1.17
--- pkgsrc/devel/poco/Makefile.common:1.16      Sun Nov  3 10:39:28 2019
+++ pkgsrc/devel/poco/Makefile.common   Sun Nov 24 01:03:28 2019
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2019/11/03 10:39:28 rillig Exp $
+# $NetBSD: Makefile.common,v 1.17 2019/11/24 01:03:28 gdt Exp $
 #
 # used by devel/poco/Makefile
 # used by databases/poco-data/Makefile
@@ -46,7 +46,7 @@ CONFIGURE_ARGS.NetBSD+=       --no-sharedmemor
 
 .if ${OPSYS} == "SunOS"
 .include "../../mk/compiler.mk"
-.  if ${PKGSRC_COMPILER} == "sunpro"
+.  if ${PKGSRC_COMPILER:Msunpro}
 CONFIGURE_ARGS+=       --config=SunOS-SunStudio
 .  else
 CONFIGURE_ARGS+=       --config=SunOS-GCC



Home | Main Index | Thread Index | Old Index