pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 lang/perl5: Fix compiler check via pkglint



details:   https://anonhg.NetBSD.org/pkgsrc/rev/42ac79f26dfe
branches:  trunk
changeset: 405164:42ac79f26dfe
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Sun Nov 24 01:08:21 2019 +0000

description:
lang/perl5: Fix compiler check via pkglint

AUTOFIX: Makefile:267: Replacing "${PKGSRC_COMPILER} == \"xlc\"" with "${PKGSRC_COMPILER:Mxlc}".

diffstat:

 lang/perl5/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r f74fa2c153ed -r 42ac79f26dfe lang/perl5/Makefile
--- a/lang/perl5/Makefile       Sun Nov 24 01:05:37 2019 +0000
+++ b/lang/perl5/Makefile       Sun Nov 24 01:08:21 2019 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index