Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xentools48 sysutils/xentools48: fix SUBST blocks



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c0880ea0de9f
branches:  trunk
changeset: 433923:c0880ea0de9f
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Mon Jun 08 19:25:03 2020 +0000

description:
sysutils/xentools48: fix SUBST blocks

The additional 1s,/usr/bin/env is necessary for parserom.pl, which
differs from the other Perl files in that directory.

The pathsvar block is a no-op since tools/Makefile does not contain
"/var" anymore and the other file has been converted to GNU autoconf for
replacing the placeholders.

diffstat:

 sysutils/xentools48/Makefile |  9 ++-------
 1 files changed, 2 insertions(+), 7 deletions(-)

diffs (23 lines):

diff -r 35c10d617b86 -r c0880ea0de9f sysutils/xentools48/Makefile
--- a/sysutils/xentools48/Makefile      Mon Jun 08 18:45:04 2020 +0000
+++ b/sysutils/xentools48/Makefile      Mon Jun 08 19:25:03 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2020/06/06 04:09:44 rillig Exp $
+# $NetBSD: Makefile,v 1.34 2020/06/08 19:25:03 rillig Exp $
 #
 VERSION=       4.8.5
 VERSION_IPXE=  827dd1bfee67daa683935ce65316f7e0f057fe1c
@@ -137,12 +137,7 @@
 SUBST_FILES.perlpath+= ../ipxe/src/util/swapdevids.pl
 SUBST_FILES.perlpath+= ../ipxe/src/util/symcheck.pl
 SUBST_SED.perlpath=    -e "s|/usr/bin/perl|${PREFIX}/bin/perl|g"
-
-SUBST_CLASSES+=                pathsvar
-SUBST_STAGE.pathsvar=  pre-configure
-SUBST_FILES.pathsvar=  tools/Makefile \
-                       tools/hotplug/Linux/init.d/sysconfig.xendomains
-SUBST_SED.pathsvar=    -e "s|/var/lib|${VARBASE}/run|g"
+SUBST_SED.perlpath+=   -e '1s,/usr/bin/env perl,${PREFIX}/bin/perl,'
 
 SUBST_CLASSES+=                conf
 SUBST_STAGE.conf=      pre-configure



Home | Main Index | Thread Index | Old Index