mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-27 07:52:55 +02:00
brltty: fix cross with Python 3.8.
This commit is contained in:
parent
f986d5c108
commit
44e166c568
1 changed files with 15 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'brltty'
|
# Template file for 'brltty'
|
||||||
pkgname=brltty
|
pkgname=brltty
|
||||||
version=6.0
|
version=6.0
|
||||||
revision=3
|
revision=4
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-gpm --with-screen-driver=lx,sc
|
configure_args="--enable-gpm --with-screen-driver=lx,sc
|
||||||
--with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
|
--with-tables-directory=/usr/share/brltty PYTHON=/usr/bin/python3"
|
||||||
|
@ -38,6 +38,20 @@ post_configure() {
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pre_build() {
|
||||||
|
if [ "$CROSS_BUILD" ]; then
|
||||||
|
for f in ${XBPS_CROSS_BASE}/${py3_lib}/_sysconfigdata_*; do
|
||||||
|
f=${f##*/}
|
||||||
|
export _PYTHON_SYSCONFIGDATA_NAME=${f%.py}
|
||||||
|
done
|
||||||
|
export PYTHONPATH=${XBPS_CROSS_BASE}/${py3_lib}
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
pre_install() {
|
||||||
|
pre_build
|
||||||
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make INSTALL_ROOT=${DESTDIR} install
|
make INSTALL_ROOT=${DESTDIR} install
|
||||||
vsv $pkgname
|
vsv $pkgname
|
||||||
|
|
Loading…
Add table
Reference in a new issue