diff options
author | rillig <rillig@pkgsrc.org> | 2020-05-19 19:58:58 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2020-05-19 19:58:58 +0000 |
commit | a8f30c43245708a1a30bbe479f3e43d36ed8b253 (patch) | |
tree | bcbb5bb3722c1d5db430ada8492cb40b8ae0311c /sysutils | |
parent | 66f732b7d455b0c4ba83a7f4554acb1f115f76a4 (diff) | |
download | pkgsrc-a8f30c43245708a1a30bbe479f3e43d36ed8b253.tar.gz |
sysutils/xentools411: clean up SUBST blocks
Several files have switched from /usr/bin/perl to /usr/bin/env perl.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/xentools411/Makefile | 57 |
1 files changed, 13 insertions, 44 deletions
diff --git a/sysutils/xentools411/Makefile b/sysutils/xentools411/Makefile index be2c8c99c1f..3b7e4e428c1 100644 --- a/sysutils/xentools411/Makefile +++ b/sysutils/xentools411/Makefile @@ -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_IPXE= ipxe-git-${VERSION_IPXE}.tar.gz 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_TOOLS+= pod2man gmake pkg-config makeinfo perl bash cmake 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/convert-legacy-stream 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 @@ XEND_SCRIPTS= block vif-bridge vif-ip qemu-ifup hotplugpath.sh locking.sh 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 @@ PROCPATH.*= /proc .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 |