libxml2-python-32: fix build

This commit is contained in:
Danny Rawlins 2012-12-24 21:32:57 +11:00
parent cff053e950
commit 85954af4d2

View File

@ -5,7 +5,7 @@
name=libxml2-python-32 name=libxml2-python-32
version=2.9.0 version=2.9.0
release=1 release=2
source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \ source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz \
libxml2-python-config.patch) libxml2-python-config.patch)
@ -16,7 +16,7 @@ build () {
./configure --prefix=/usr --libdir=/usr/lib32 ./configure --prefix=/usr --libdir=/usr/lib32
cd python cd python
sed -i -e 's|PYTHON_INCLUDES = /usr/include/python2.7|PYTHON_INCLUDES = /usr/include32/python2.7|' Makefile
make make
make DESTDIR=$PKG install make DESTDIR=$PKG install