summaryrefslogtreecommitdiff
path: root/meta/recipes-graphics/xcb/xcb-proto-1.6
diff options
context:
space:
mode:
authorDongxiao Xu <dongxiao.xu@intel.com>2011-07-13 16:43:44 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-20 15:24:55 +0100
commitec7ea43749d40e4164dc35493a796b9546e60e4e (patch)
tree707fc594cec00a1a0b7c82429b35ef08a8c91a6a /meta/recipes-graphics/xcb/xcb-proto-1.6
parent02c843d995e238f7a5b326195f14222f6a99b596 (diff)
downloadopenembedded-core-ec7ea43749d40e4164dc35493a796b9546e60e4e.tar.gz
openembedded-core-ec7ea43749d40e4164dc35493a796b9546e60e4e.tar.bz2
openembedded-core-ec7ea43749d40e4164dc35493a796b9546e60e4e.zip
xcb-proto: add multilib support.
There is hardcode of /usr/lib dir for some python files. Fix it to support multilib. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Diffstat (limited to 'meta/recipes-graphics/xcb/xcb-proto-1.6')
-rw-r--r--meta/recipes-graphics/xcb/xcb-proto-1.6/aclocal.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-graphics/xcb/xcb-proto-1.6/aclocal.patch b/meta/recipes-graphics/xcb/xcb-proto-1.6/aclocal.patch
new file mode 100644
index 0000000000..124f146345
--- /dev/null
+++ b/meta/recipes-graphics/xcb/xcb-proto-1.6/aclocal.patch
@@ -0,0 +1,22 @@
+Upstream-Status: Inappropriate [configuration]
+
+diff -ruN xcb-proto-1.6-orig/aclocal.m4 xcb-proto-1.6/aclocal.m4
+--- xcb-proto-1.6-orig/aclocal.m4 2011-07-08 15:45:33.000000000 +0800
++++ xcb-proto-1.6/aclocal.m4 2011-07-08 15:48:19.000000000 +0800
+@@ -518,6 +518,7 @@
+ dnl general consensus is that you shouldn't need this ability.
+
+ AC_SUBST([PYTHON_PREFIX], ['${prefix}'])
++ AC_SUBST([PYTHON_LIB_PREFIX], ['${libdir}'])
+ AC_SUBST([PYTHON_EXEC_PREFIX], ['${exec_prefix}'])
+
+ dnl At times (like when building shared libraries) you may want
+@@ -546,7 +547,7 @@
+ am_py_prefix=$prefix
+ fi
+ am_cv_python_pythondir=`$PYTHON -c "import sys; from distutils import sysconfig; sys.stdout.write(sysconfig.get_python_lib(0,0,prefix='$am_py_prefix'))" 2>/dev/null ||
+- echo "$PYTHON_PREFIX/lib/python$PYTHON_VERSION/site-packages"`
++ echo "$PYTHON_LIB_PREFIX/python$PYTHON_VERSION/site-packages"`
+ case $am_cv_python_pythondir in
+ $am_py_prefix*)
+ am__strip_prefix=`echo "$am_py_prefix" | sed 's|.|.|g'`