summaryrefslogtreecommitdiff
path: root/mail/cue
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-11-24 01:04:20 +0000
committergdt <gdt@pkgsrc.org>2019-11-24 01:04:20 +0000
commit2f69268588b475e62842871b6a32ee5e2b2cb9ad (patch)
treea09c23acfca1f3c3f918b68d37ddb0adfd9a7604 /mail/cue
parentf6a14a425abc7a43dcf1365cb3d74591cf692a96 (diff)
downloadpkgsrc-2f69268588b475e62842871b6a32ee5e2b2cb9ad.tar.gz
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.
Diffstat (limited to 'mail/cue')
-rw-r--r--mail/cue/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/cue/hacks.mk b/mail/cue/hacks.mk
index b440493a361..d3c86ea8a53 100644
--- a/mail/cue/hacks.mk
+++ b/mail/cue/hacks.mk
@@ -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