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