ports/opt (3.7): libxml2: force use of python3
commit b319bb92e30a878220bf7c87f34b1650f58a1f03 Author: Juergen Daubert <jue@jue.li> Date: Tue May 2 20:07:15 2023 +0200 libxml2: force use of python3 diff --git a/libxml2/.signature b/libxml2/.signature index f141ca82c..54a83af5b 100644 --- a/libxml2/.signature +++ b/libxml2/.signature @@ -1,5 +1,5 @@ untrusted comment: verify with /etc/ports/opt.pub -RWSE3ohX2g5d/ZBmLeFrEXqYsxgOuoUluJX3d/pxhlABRfYUk5H3wG977oi3NSK3ZOn+RXZP5EMOoMq7LcI646yxp7nSsSM0tw8= -SHA256 (Pkgfile) = ce7f1702b9dd23c457ce549de3ad05fcd01749669b7be4dca90637f61bcf0c35 +RWSE3ohX2g5d/YAfLksnVXVKS8KVzdRyKN60iC7ukvxgq47EratMTj2uQZQmnJcruxxEjW9wZ4b1XsvTWse6Xk0ePX/+e/GKsgc= +SHA256 (Pkgfile) = 8639958c27bc6511678e04903f04f4cf89d8ed7e0d9846824d470757ad6e4507 SHA256 (.footprint) = cf04f8b2bb2f5ab706b38beec88a687d0ba1274146bb85ef08466ea45ca50ff8 SHA256 (libxml2-2.11.1.tar.xz) = 3d39b294b856bfe3bafd5fb126e1f8487004261e78eabb8df9513e927915a995 diff --git a/libxml2/Pkgfile b/libxml2/Pkgfile index 5d6dbbbcf..e04ebd6d3 100644 --- a/libxml2/Pkgfile +++ b/libxml2/Pkgfile @@ -10,11 +10,15 @@ source=(https://download.gnome.org/sources/libxml2/${version:0:4}/$name-$version build() { cd $name-$version + + export PYTHON=/usr/bin/python3 + ./configure \ --prefix=/usr \ - --sysconfdir=/etc \ - #--without-python + --sysconfdir=/etc + make make DESTDIR=$PKG install + rm -r $PKG/usr/share/{doc,gtk-doc} }
participants (1)
-
crux@crux.nu