1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-25 04:43:33 +00:00

Add option to disable Assembly for the algorythm.

Submitted by:	James Cook <james.cook@utoronto.ca>
This commit is contained in:
Edwin Groothuis 2007-09-13 08:59:49 +00:00
parent da652c7e22
commit f7316244cc
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=199400
2 changed files with 16 additions and 3 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= liquidwar
PORTVERSION= 5.6.3
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= games
MASTER_SITES= http://liquidwar.sunsite.dk/archive/ \
${MASTER_SITE_SAVANNAH} \
@ -22,7 +22,7 @@ LIB_DEPENDS= alleg.42:${PORTSDIR}/devel/allegro
GNU_CONFIGURE= yes
USE_GMAKE= yes
CONFIGURE_ARGS= --disable-target-opt --disable-doc-ps --disable-doc-pdf
USE_PYTHON_BUILD= yes
USE_PYTHON_BUILD=yes
INFO= liquidwar
@ -31,4 +31,12 @@ MAN6= liquidwar.6 \
liquidwar-server.6 \
liquidwar-mapgen.6
.include <bsd.port.mk>
OPTIONS= ASM "Disable assembly code (if it crashes)" OFF
.include <bsd.port.pre.mk>
.if !defined(WITHOUT_ASM)
CONFIGURE_ARGS+= --disable-asm
.endif
.include <bsd.port.post.mk>

View File

@ -14,4 +14,9 @@ very often controls several thousands fighters at the same time.
And when fighters from different teams meet, they eat each other,
it is as simple as that.
Note: If the game crashes this might resolve it:
Inside liquidwar, go to options->rules->advanced and change
Algorithm from "Assembly" to "Standard C"
See also the "ASM" option in the port build options.
WWW: http://www.ufoot.org/liquidwar/