pkgsrc-Changes archive

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

CVS commit: pkgsrc/mail/cue



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sun Nov 24 01:04:20 UTC 2019

Modified Files:
        pkgsrc/mail/cue: hacks.mk

Log Message:
mail/cue: Fix compiler check via pkglint

AUTOFIX: hacks.mk:5: Replacing "${PKGSRC_COMPILER} == \"ido\"" with "${PKGSRC_COMPILER:Mido}".

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.1 -r1.2 pkgsrc/mail/cue/hacks.mk

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

Modified files:

Index: pkgsrc/mail/cue/hacks.mk
diff -u pkgsrc/mail/cue/hacks.mk:1.1 pkgsrc/mail/cue/hacks.mk:1.2
--- pkgsrc/mail/cue/hacks.mk:1.1        Tue Dec 15 13:11:18 2009
+++ pkgsrc/mail/cue/hacks.mk    Sun Nov 24 01:04:20 2019
@@ -1,7 +1,7 @@
-# $NetBSD: hacks.mk,v 1.1 2009/12/15 13:11:18 taca Exp $
+# $NetBSD: hacks.mk,v 1.2 2019/11/24 01:04:20 gdt Exp $
 
 .include "../../mk/compiler.mk"
 
-.if ${PKGSRC_COMPILER} == "ido"
+.if ${PKGSRC_COMPILER:Mido}
 CPPFLAGS+=     -DNO_ATTRIBUTE
 .endif



Home | Main Index | Thread Index | Old Index