golly: fix cross.
This commit is contained in:
parent
0a314cdeaf
commit
59e63f4726
1 changed files with 3 additions and 2 deletions
|
@ -5,7 +5,8 @@ revision=1
|
||||||
wrksrc="${pkgname}-${version}-src"
|
wrksrc="${pkgname}-${version}-src"
|
||||||
build_wrksrc="gui-wx"
|
build_wrksrc="gui-wx"
|
||||||
build_style=gnu-makefile
|
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}"
|
make_install_args="${make_build_args}"
|
||||||
hostmakedepends="python3"
|
hostmakedepends="python3"
|
||||||
makedepends="MesaLib-devel glu-devel lua54-devel python3-devel wxWidgets-devel
|
makedepends="MesaLib-devel glu-devel lua54-devel python3-devel wxWidgets-devel
|
||||||
|
@ -24,7 +25,7 @@ post_extract() {
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
if [ "$CROSS_BUILD" ]; then
|
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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue