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

View file

@ -1,7 +1,7 @@
# Template file for 'golly' # Template file for 'golly'
pkgname=golly pkgname=golly
version=4.1 version=4.1
revision=1 revision=2
wrksrc="${pkgname}-${version}-src" wrksrc="${pkgname}-${version}-src"
build_wrksrc="gui-wx" build_wrksrc="gui-wx"
build_style=gnu-makefile build_style=gnu-makefile
@ -27,7 +27,7 @@ post_extract() {
pre_configure() { pre_configure() {
if [ "$CROSS_BUILD" ]; then 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 fi
} }