golly: rebuild for Python 3.11

This commit is contained in:
Andrew J. Hesford 2022-09-25 13:22:23 -04:00
parent 0f66df3fbd
commit f4cbc111bf
1 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'golly'
pkgname=golly
version=4.1
revision=1
revision=2
wrksrc="${pkgname}-${version}-src"
build_wrksrc="gui-wx"
build_style=gnu-makefile
@ -27,7 +27,7 @@ post_extract() {
pre_configure() {
if [ "$CROSS_BUILD" ]; then
vsed -i "s,\(PYTHON_INCLUDE\) =.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python3.10,g" makefile-gtk
vsed -i "s,\(PYTHON_INCLUDE\) =.*,\1=-I${XBPS_CROSS_BASE}/${py3_inc},g" makefile-gtk
fi
}