summaryrefslogtreecommitdiff
path: root/recipes/libxml2
diff options
context:
space:
mode:
authorEdward Hervey <bilboed@bilboed.com>2013-10-07 08:54:07 +0200
committerEdward Hervey <bilboed@bilboed.com>2013-10-07 08:54:07 +0200
commitc807617a76d18060fdf0c279446c86116e6fad8a (patch)
tree8adb0ff9e439535126b25aad85d4ffd3bd4e0c73 /recipes/libxml2
parent244b48670a922b1eecc817e205f4564db8f4ee1f (diff)
libxml2: Patch pythondir to install to dist prefix
Fixes macosx and linux build
Diffstat (limited to 'recipes/libxml2')
-rw-r--r--recipes/libxml2/0010-pythondir-prefix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes/libxml2/0010-pythondir-prefix.patch b/recipes/libxml2/0010-pythondir-prefix.patch
new file mode 100644
index 00000000..499df764
--- /dev/null
+++ b/recipes/libxml2/0010-pythondir-prefix.patch
@@ -0,0 +1,11 @@
+--- a/configure.in.orig 2013-10-07 08:30:52.305052041 +0200
++++ b/configure.in 2013-10-07 08:45:16.038417021 +0200
+@@ -820,7 +820,7 @@
+ fi
+ fi
+ fi
+- pythondir='$(PYTHON_SITE_PACKAGES)'
++ pythondir='$(prefix)/lib/python$(PYTHON_VERSION)/site-packages'
+ PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
+ else
+ PYTHON=