ports/compat-32 (3.1): libxml2-python-32: reapply bug fix FS#929
![](https://secure.gravatar.com/avatar/df8330968b6df8cd1c1942c5fb4b720c.jpg?s=120&d=mm&r=g)
commit 3e024e3d88deb837394cb025fe8c08603294a026 Author: Danny Rawlins <monster.romster@gmail.com> Date: Tue Jan 13 00:28:05 2015 +1100 libxml2-python-32: reapply bug fix FS#929 diff --git a/libxml2-python-32/Pkgfile b/libxml2-python-32/Pkgfile index 2b8c110..474a4f0 100644 --- a/libxml2-python-32/Pkgfile +++ b/libxml2-python-32/Pkgfile @@ -5,7 +5,7 @@ name=libxml2-python-32 version=2.9.2 -release=1 +release=2 source=(ftp://xmlsoft.org/libxml2/libxml2-$version.tar.gz libxml2-python-config.patch) @@ -14,12 +14,19 @@ build() { patch -p1 -i $SRC/libxml2-python-config.patch + # --libdir=/usr/lib32 is unpredictable version 2.9.1 and 2.9.2 ./configure --prefix=/usr --libdir=/usr/lib32 cd python make make DESTDIR=$PKG install + # --libdir is not to be trusted some sort of race at configure + # library will either end up in lib or lib32 depending on mood + if [ -e $PKG/usr/lib ]; then + mv $PKG/usr/lib $PKG/usr/lib32 + fi + rm $PKG/usr/lib32/python2.7/site-packages/libxml2mod.{a,la} rm -r $PKG/usr/share/doc rmdir $PKG/usr/share
participants (1)
-
crux@crux.nu