ports/sysutils/xen-tools/files/0001-tools-include-propagate-python-interpreter-path.patch
Roger Pau Monné 7931facd63 xen: update to 4.12
Reviewed by:		bapt
Sponsored by:		Citrix Systems R&D
Differential revision:	https://reviews.freebsd.org/D20038
2019-04-24 14:21:41 +00:00

33 lines
1.1 KiB
Diff

From 6b9481a710c2158ba47fbc18a0767f643cfdfee1 Mon Sep 17 00:00:00 2001
From: Roger Pau Monne <roger.pau@citrix.com>
Date: Thu, 18 Apr 2019 11:35:00 +0200
Subject: [PATCH] tools/include: propagate python interpreter path
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
To the Makefile that generates the cpuid policy. Without this fix if
the tools python interpreter is different than the default 'python' it
won't be correctly propagated.
Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
---
tools/include/Makefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/include/Makefile b/tools/include/Makefile
index d693810053..71538e1ce2 100644
--- a/tools/include/Makefile
+++ b/tools/include/Makefile
@@ -32,7 +32,7 @@ endif
touch $@
all-$(CONFIG_X86): xen/.dir
- $(MAKE) -C xen/lib/x86 all XEN_ROOT=$(XEN_ROOT)
+ $(MAKE) -C xen/lib/x86 all XEN_ROOT=$(XEN_ROOT) PYTHON=$(PYTHON)
# Not xen/xsm as that clashes with link to
# $(XEN_ROOT)/xen/include/public/xsm above.
--
2.17.2 (Apple Git-113)