* [Buildroot] [PATCH] Fix Python version detection for libxcb
@ 2010-05-10 13:38 Paulius Zaleckas
2010-05-10 18:23 ` Thomas Petazzoni
2010-05-10 20:36 ` Peter Korsgaard
0 siblings, 2 replies; 4+ messages in thread
From: Paulius Zaleckas @ 2010-05-10 13:38 UTC (permalink / raw)
To: buildroot
Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
---
package/x11r7/libxcb/libxcb.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/package/x11r7/libxcb/libxcb.mk b/package/x11r7/libxcb/libxcb.mk
index c8b70ea..bd2c69d 100644
--- a/package/x11r7/libxcb/libxcb.mk
+++ b/package/x11r7/libxcb/libxcb.mk
@@ -13,7 +13,7 @@ LIBXCB_AUTORECONF = NO
LIBXCB_LIBTOOL_PATCH = NO
LIBXCB_DEPENDENCIES = host-libxslt pthread-stubs xcb-proto xlib_libXdmcp xlib_libXau
LIBXCB_CONF_ENV = STAGING_DIR="$(STAGING_DIR)"
-HOST_PYTHON_VERSION=$(shell python --version 2>&1 | sed 's/Python \(2\.[0-9]\)\..*/\1/')
+HOST_PYTHON_VERSION=$(shell python --version 2>&1 | sed 's/Python \(2\.[0-9]\).*/\1/')
LIBXCB_MAKE_OPT = XCBPROTO_XCBINCLUDEDIR=$(STAGING_DIR)/usr/share/xcb XCBPROTO_XCBPYTHONDIR=$(STAGING_DIR)/usr/lib/python$(HOST_PYTHON_VERSION)/site-packages
$(eval $(call AUTOTARGETS,package/x11r7,libxcb))
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Fix Python version detection for libxcb
2010-05-10 13:38 [Buildroot] [PATCH] Fix Python version detection for libxcb Paulius Zaleckas
@ 2010-05-10 18:23 ` Thomas Petazzoni
2010-05-10 20:36 ` Peter Korsgaard
1 sibling, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2010-05-10 18:23 UTC (permalink / raw)
To: buildroot
On Mon, 10 May 2010 16:38:53 +0300
Paulius Zaleckas <paulius.zaleckas@gmail.com> wrote:
> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
On my system, the Python version was 2.6.4, not just 2.6, so my regexp
was working. But obviously, yours is better, so:
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH] Fix Python version detection for libxcb
2010-05-10 13:38 [Buildroot] [PATCH] Fix Python version detection for libxcb Paulius Zaleckas
2010-05-10 18:23 ` Thomas Petazzoni
@ 2010-05-10 20:36 ` Peter Korsgaard
2010-05-10 21:30 ` Paulius Zaleckas
1 sibling, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2010-05-10 20:36 UTC (permalink / raw)
To: buildroot
>>>>> "Paulius" == Paulius Zaleckas <paulius.zaleckas@gmail.com> writes:
Paulius> Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com>
Sorry, didn't see your patch before implementing it myself.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-05-10 21:30 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-10 13:38 [Buildroot] [PATCH] Fix Python version detection for libxcb Paulius Zaleckas
2010-05-10 18:23 ` Thomas Petazzoni
2010-05-10 20:36 ` Peter Korsgaard
2010-05-10 21:30 ` Paulius Zaleckas
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox