Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xentools411 sysutils/xentools411: clean up SU...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f04a36b067dd
branches:  trunk
changeset: 432240:f04a36b067dd
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 19 19:58:58 2020 +0000

description:
sysutils/xentools411: clean up SUBST blocks

Several files have switched from /usr/bin/perl to /usr/bin/env perl.

diffstat:

 sysutils/xentools411/Makefile |  57 +++++++++---------------------------------
 1 files changed, 13 insertions(+), 44 deletions(-)

diffs (99 lines):

diff -r 24774840bdb7 -r f04a36b067dd sysutils/xentools411/Makefile
--- a/sysutils/xentools411/Makefile     Tue May 19 19:53:43 2020 +0000
+++ b/sysutils/xentools411/Makefile     Tue May 19 19:58:58 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2020/05/13 04:39:04 rillig Exp $
+# $NetBSD: Makefile,v 1.16 2020/05/19 19:58:58 rillig Exp $
 #
 VERSION=       4.11.3
 VERSION_IPXE=  356f6c1b64d7a97746d1816cef8ca22bdd8d0b5d
@@ -7,7 +7,7 @@
 DIST_SUBDIR=           xen411
 DISTNAME=              xen-${VERSION}
 PKGNAME=               xentools411-${VERSION}
-PKGREVISION=           2
+PKGREVISION=           3
 CATEGORIES=            sysutils
 MASTER_SITES=          https://downloads.xenproject.org/release/xen/${VERSION}/
 
@@ -50,6 +50,7 @@
 USE_LANGUAGES=         c
 
 GNU_CONFIGURE=         YES
+GNU_CONFIGURE_STRICT=  no # seabios is for one of the sub-configures
 #CONFIGURE_ARGS+=      --enable-xenapi
 CONFIGURE_ARGS+=       --disable-seabios
 
@@ -72,38 +73,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_FILES.perlpath+= ../ipxe/src/drivers/infiniband/qib_genbits.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/catrom.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/diffsize.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/disrom.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/get-pci-ids
-SUBST_FILES.perlpath+= ../ipxe/src/util/licence.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/mergerom.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/modrom.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/padimg.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/parserom.pl
-SUBST_FILES.perlpath+= ../ipxe/src/util/sortobjdump.pl
-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"
+REPLACE_PERL+=         ../ipxe/src/util/*.pl
+REPLACE_PERL+=         ../ipxe/src/drivers/infiniband/qib_genbits.pl
+REPLACE_PERL+=         ../ipxe/src/util/get-pci-ids
+REPLACE_PERL+=         tools/examples/xeninfo.pl
+REPLACE_PERL+=         tools/firmware/rombios/makesym.perl
+REPLACE_PERL+=         tools/include/xen-external/bsd-sys-queue-h-seddery
+REPLACE_PERL+=         tools/libxl/check-libxl-api-rules
+REPLACE_PERL+=         tools/libxl/libxl_save_msgs_gen.pl
+REPLACE_PERL+=         tools/qemu-xen-traditional/*.pl
 
 SUBST_CLASSES+=                conf
 SUBST_STAGE.conf=      pre-configure
@@ -114,7 +92,7 @@
 
 SUBST_CLASSES.NetBSD+= proc
 SUBST_STAGE.proc=      pre-configure
-SUBST_FILES.proc+=     tools/ocaml/xenstored/define.ml
+SUBST_FILES.proc+=     tools/ocaml/xenstored/select.ml
 SUBST_SED.proc=                -e "s|/proc|/kern|g"
 
 SUBST_CLASSES+=                getopt
@@ -129,15 +107,6 @@
 
 .include "../../mk/bsd.prefs.mk"
 
-SUBST_CLASSES+=                procdev
-SUBST_STAGE.procdev=   pre-configure
-SUBST_FILES.procdev=   tools/ocaml/xenstored/define.ml
-.if ${OPSYS} == "NetBSD"
-SUBST_SED.procdev=     -e "s|@PROCDEV@|/dev|g"
-.else
-SUBST_SED.procdev=     -e "s|@PROCDEV@|/proc/xen|g"
-.endif
-
 .if ${OPSYS} == "NetBSD"
 MESSAGE_SRC=           ${.CURDIR}/MESSAGE ${.CURDIR}/MESSAGE.NetBSD
 .endif



Home | Main Index | Thread Index | Old Index