From 1da4d63e1452bd1742144010efa6ebce9caab3d4 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 19:51:34 +0700 Subject: [PATCH] python3-reportlab: reall fix cross build --- srcpkgs/python3-reportlab/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/python3-reportlab/template b/srcpkgs/python3-reportlab/template index 9c4f299c678..16667643950 100644 --- a/srcpkgs/python3-reportlab/template +++ b/srcpkgs/python3-reportlab/template @@ -4,6 +4,7 @@ version=3.6.11 revision=1 wrksrc="reportlab-${version}" build_style=python3-module +make_build_args="--use-system-libart" hostmakedepends="python3-setuptools" makedepends="python3-devel freetype-devel libart-devel" depends="python3-Pillow" @@ -14,7 +15,13 @@ homepage="https://www.reportlab.com/" distfiles="${PYPI_SITE}/r/reportlab/reportlab-${version}.tar.gz" checksum=04fc4420f0548815d0623e031c86a1f7f3f3003e699d9af7148742e2d72b024a -CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/freetype2" +do_configure() { + cat <<-EOF >local-setup.cfg + [FREETYPE_PATHS] + lib = ${XBPS_CROSS_BASE}/usr/lib + inc = ${XBPS_CROSS_BASE}/usr/include/freetype2 + EOF +} post_install() { vlicense LICENSE.txt