rpm: fix and rebuild for Python 3.8.

This commit is contained in:
Leah Neukirchen 2019-10-19 16:24:32 +02:00
parent b1072501ae
commit bf47722398

View file

@ -1,7 +1,7 @@
# Template file for 'rpm' # Template file for 'rpm'
pkgname=rpm pkgname=rpm
version=4.15.1 version=4.15.1
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--with-lua --with-cap --with-acl --with-external-db configure_args="--with-lua --with-cap --with-acl --with-external-db
--enable-python PYTHON=python3" --enable-python PYTHON=python3"
@ -18,7 +18,7 @@ distfiles="http://ftp.rpm.org/releases/rpm-4.15.x/rpm-${version}.tar.bz2"
checksum=ddef45f9601cd12042edfc9b6e37efcca32814e1e0f4bb8682d08144a3e2d230 checksum=ddef45f9601cd12042edfc9b6e37efcca32814e1e0f4bb8682d08144a3e2d230
conflicts="rpmextract>=0" # Both provide rpm2cpio conflicts="rpmextract>=0" # Both provide rpm2cpio
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/python3.6" CFLAGS="-I${XBPS_CROSS_BASE}${py3_inc}"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nss" CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nss"
CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nspr" CFLAGS+=" -I${XBPS_CROSS_BASE}/usr/include/nspr"