python3-reportlab: use system libart
This commit is contained in:
parent
1da4d63e14
commit
65d03502f0
@ -1,7 +1,7 @@
|
||||
# Template file for 'python3-reportlab'
|
||||
pkgname=python3-reportlab
|
||||
version=3.6.11
|
||||
revision=1
|
||||
revision=2
|
||||
wrksrc="reportlab-${version}"
|
||||
build_style=python3-module
|
||||
make_build_args="--use-system-libart"
|
||||
@ -16,6 +16,11 @@ distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz"
|
||||
checksum=04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a
|
||||
|
||||
do_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
sed -i -e "
|
||||
s,'/usr/include/libart,'$XBPS_CROSS_BASE/usr/include/libart,
|
||||
" setup.py
|
||||
fi
|
||||
cat <<-EOF >local-setup.cfg
|
||||
[FREETYPE_PATHS]
|
||||
lib = ${XBPS_CROSS_BASE}/usr/lib
|
||||
|
Loading…
x
Reference in New Issue
Block a user