python3-reportlab: reall fix cross build
This commit is contained in:
parent
32c9479f19
commit
1da4d63e14
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user