golly: fix cross.

This commit is contained in:
Leah Neukirchen 2020-10-31 17:05:18 +01:00
parent 0a314cdeaf
commit 59e63f4726

View file

@ -5,7 +5,8 @@ revision=1
wrksrc="${pkgname}-${version}-src"
build_wrksrc="gui-wx"
build_style=gnu-makefile
make_build_args="-f makefile-gtk GOLLYDIR=/usr/share/golly LUALIB=-llua5.4"
make_build_args="-f makefile-gtk GOLLYDIR=/usr/share/golly LUALIB=-llua5.4
CXXC=\$(CXX)"
make_install_args="${make_build_args}"
hostmakedepends="python3"
makedepends="MesaLib-devel glu-devel lua54-devel python3-devel wxWidgets-devel
@ -24,7 +25,7 @@ post_extract() {
pre_configure() {
if [ "$CROSS_BUILD" ]; then
sed -i "s,\(PYTHON_INCLUDE\)=.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python3.9,g" makefile-gtk
sed -i "s,\(PYTHON_INCLUDE\) =.*,\1=-I${XBPS_CROSS_BASE}/usr/include/python3.9,g" makefile-gtk
fi
}