liquidwar: fix build for 32 bit
This commit is contained in:
parent
cef1f9ec90
commit
ec217014af
1 changed files with 4 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'liquidwar'
|
# Template file for 'liquidwar'
|
||||||
pkgname=liquidwar
|
pkgname=liquidwar
|
||||||
version=5.6.4
|
version=5.6.4
|
||||||
revision=1
|
revision=2
|
||||||
build_style="gnu-configure"
|
build_style="gnu-configure"
|
||||||
make_build_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
|
make_build_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
|
||||||
make_install_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
|
make_install_args="GAMEDIR=/usr/bin DATADIR=/usr/share/liquidwar"
|
||||||
|
@ -17,5 +17,7 @@ checksum=32c52e4588e8e723f907ef43703b4ddf009e8ff1f29555c09bcc1f70bf5b93a3
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# The assembly only exists for 32 bit platforms
|
# The assembly only exists for 32 bit platforms
|
||||||
[ "$XBPS_TARGET_MACHINE" == "x86_64" ] && configure_args+=" --disable-asm"
|
if [ "$XBPS_TARGET_MACHINE" == "x86_64" ]; then
|
||||||
|
configure_args+=" --disable-asm"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue