Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xentools413 xentools413: fix SUBST block for ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e3890ed27fb
branches:  trunk
changeset: 436054:2e3890ed27fb
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sun Jul 26 08:24:11 2020 +0000

description:
xentools413: fix SUBST block for Perl path

tools/misc/xencov_split has switched to Python, some other files use
/usr/bin/env, which the SUBST block didn't handle.

diffstat:

 sysutils/xentools413/Makefile |  24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diffs (38 lines):

diff -r 74c03be4ee97 -r 2e3890ed27fb sysutils/xentools413/Makefile
--- a/sysutils/xentools413/Makefile     Sun Jul 26 07:55:03 2020 +0000
+++ b/sysutils/xentools413/Makefile     Sun Jul 26 08:24:11 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2020/06/08 09:12:46 bouyer Exp $
+# $NetBSD: Makefile,v 1.4 2020/07/26 08:24:11 rillig Exp $
 #
 VERSION=       4.13.1
 
@@ -67,19 +67,15 @@
 REPLACE_PYTHON+=       tools/python/scripts/verify-stream-v2
 REPLACE_PYTHON+=       tools/xenmon/xenmon.py tools/misc/xencov_split
 
-SUBST_CLASSES+=                perlpath
-SUBST_STAGE.perlpath=  pre-configure
-SUBST_FILES.perlpath=  tools/misc/xencov_split
-SUBST_FILES.perlpath+= tools/firmware/rombios/makesym.perl
-SUBST_FILES.perlpath+= tools/qemu-xen-traditional/texi2pod.pl
-SUBST_FILES.perlpath+= tools/examples/xeninfo.pl
-SUBST_FILES.perlpath+= tools/include/xen-external/bsd-sys-queue-h-seddery
-SUBST_FILES.perlpath+= tools/qemu-xen/scripts/texi2pod.pl
-SUBST_FILES.perlpath+= tools/qemu-xen/scripts/get_maintainer.pl
-SUBST_FILES.perlpath+= tools/qemu-xen/scripts/checkpatch.pl
-SUBST_FILES.perlpath+= tools/libxl/libxl_save_msgs_gen.pl
-SUBST_FILES.perlpath+= tools/libxl/check-libxl-api-rules
-SUBST_SED.perlpath=    -e "s|/usr/bin/perl|${PREFIX}/bin/perl|g"
+REPLACE_PERL+=         tools/firmware/rombios/makesym.perl
+REPLACE_PERL+=         tools/qemu-xen-traditional/texi2pod.pl
+REPLACE_PERL+=         tools/examples/xeninfo.pl
+REPLACE_PERL+=         tools/include/xen-external/bsd-sys-queue-h-seddery
+REPLACE_PERL+=         tools/qemu-xen/scripts/texi2pod.pl
+REPLACE_PERL+=         tools/qemu-xen/scripts/get_maintainer.pl
+REPLACE_PERL+=         tools/qemu-xen/scripts/checkpatch.pl
+REPLACE_PERL+=         tools/libxl/libxl_save_msgs_gen.pl
+REPLACE_PERL+=         tools/libxl/check-libxl-api-rules
 
 SUBST_CLASSES+=                pathsvar
 SUBST_STAGE.pathsvar=  pre-configure



Home | Main Index | Thread Index | Old Index