summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-11-24 01:08:21 +0000
committergdt <gdt@pkgsrc.org>2019-11-24 01:08:21 +0000
commited1a616857cf60e2285312471aea6e7e41641900 (patch)
treeca89b7266dcb30594c88155e917958f08ae59fb6 /lang
parentf5673d55c6e3ae4af02d12906458ab45c717a573 (diff)
downloadpkgsrc-ed1a616857cf60e2285312471aea6e7e41641900.tar.gz
lang/perl5: Fix compiler check via pkglint
AUTOFIX: Makefile:267: Replacing "${PKGSRC_COMPILER} == \"xlc\"" with "${PKGSRC_COMPILER:Mxlc}".
Diffstat (limited to 'lang')
-rw-r--r--lang/perl5/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/perl5/Makefile b/lang/perl5/Makefile
index 5e736c56e97..8a051ed82cf 100644
--- a/lang/perl5/Makefile
+++ b/lang/perl5/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.259 2019/11/14 09:56:56 adam Exp $
+# $NetBSD: Makefile,v 1.260 2019/11/24 01:08:21 gdt Exp $
.include "license.mk"
.include "Makefile.common"
@@ -264,7 +264,7 @@ SUBST_STAGE.miniperl= pre-install
SUBST_FILES.miniperl= lib/ExtUtils/xsubpp
SUBST_SED.miniperl= -e "1s:\#!./miniperl:\#!${PERL5}:"
-.if ${PKGSRC_COMPILER} == "xlc"
+.if ${PKGSRC_COMPILER:Mxlc}
SUBST_CLASSES+= cpprun
SUBST_STAGE.cpprun= pre-install
SUBST_FILES.cpprun= lib/Config_heavy.pl