From: Erwin Rol <[email protected]>

Signed-off-by: Erwin Rol <[email protected]>
---
 rules/xcb-proto.in   |    1 +
 rules/xcb-proto.make |    7 +++----
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/rules/xcb-proto.in b/rules/xcb-proto.in
index 9c94356..8569dad 100644
--- a/rules/xcb-proto.in
+++ b/rules/xcb-proto.in
@@ -2,6 +2,7 @@
 
 config XCB_PROTO
        tristate
+       select HOST_PYTHON
        help
          The X protocol C-language Binding (XCB) is a replacement for Xlib
          featuring a small footprint, latency hiding, direct access to the
diff --git a/rules/xcb-proto.make b/rules/xcb-proto.make
index bd39090..9a2b8cb 100644
--- a/rules/xcb-proto.make
+++ b/rules/xcb-proto.make
@@ -36,13 +36,12 @@ $(XCB_PROTO_SOURCE):
 # Prepare
 # ----------------------------------------------------------------------------
 
-XCB_PROTO_PATH := PATH=$(CROSS_PATH)
-XCB_PROTO_ENV  := $(CROSS_ENV)
-
 #
 # autoconf
 #
-XCB_PROTO_AUTOCONF := $(CROSS_AUTOCONF_USR)
+XCB_CONF_TOOL := autoconf
+XCB_PROTO_CONF_OPT := $(CROSS_AUTOCONF_USR) \
+       am_cv_pathless_PYTHON=python$(PYTHON_MAJORMINOR)
 
 # ----------------------------------------------------------------------------
 # Target-Install
-- 
1.7.0


--
ptxdist mailing list
[email protected]

Reply via email to