From 65d03502f0002b012215d0a17b454adee0c2b6c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 23 Sep 2022 20:01:09 +0700 Subject: [PATCH] python3-reportlab: use system libart --- srcpkgs/python3-reportlab/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-reportlab/template b/srcpkgs/python3-reportlab/template index 16667643950..ce4d4f14d94 100644 --- a/srcpkgs/python3-reportlab/template +++ b/srcpkgs/python3-reportlab/template @@ -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