aboutsummaryrefslogtreecommitdiff
path: root/games/marsnomercy/files/patch-SConstruct
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-04-08 23:51:44 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-04-08 23:51:44 +0000
commitd6e283ec7263ea194c2d1e4ed850249732636bf4 (patch)
tree5e1015276ad6e04804c41bce3a415f20d90561fe /games/marsnomercy/files/patch-SConstruct
parent635862307ebd3ab54e606a2d53f8a52cd5d675cb (diff)
downloadports-d6e283ec7263ea194c2d1e4ed850249732636bf4.tar.gz
ports-d6e283ec7263ea194c2d1e4ed850249732636bf4.zip
Mars, Land of No Mercy is a turn-based strategy game setting on Mars during the
early stages of human colonization.The player embodies the leader of a mercenary team, landed on Mars to take advantage of conqueror battles between the Worldwide Colonizer Corporations. The main purpose is to command his team trying to find them commissions, training and leading them in battle, while still being aware of financial and instrumental resources by administering them.The Mech is the fundamental craft used by mercenaries, but they won't lack of other kind of units, as well as troops. The game most remarkable point is the incredible liberty given to the player and therefore the great strategic side that derives. It is indeed up to the player to decide how to behave towards the one who recruited him, and the enemies of turn. Basically every action leads to a reaction, so it is strongly recommended to keep a good and consistent behavior to achieve confidence from Corporations, and avoid being excluded by them. WWW: http://mars.sourceforge.net/ PR: ports/94771 Submitted by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
Notes
Notes: svn path=/head/; revision=159175
Diffstat (limited to 'games/marsnomercy/files/patch-SConstruct')
-rw-r--r--games/marsnomercy/files/patch-SConstruct37
1 files changed, 37 insertions, 0 deletions
diff --git a/games/marsnomercy/files/patch-SConstruct b/games/marsnomercy/files/patch-SConstruct
new file mode 100644
index 000000000000..e9e3b77f6348
--- /dev/null
+++ b/games/marsnomercy/files/patch-SConstruct
@@ -0,0 +1,37 @@
+--- SConstruct Mon Mar 6 16:56:17 2006
++++ SConstruct Tue Mar 21 02:12:54 2006
+@@ -1,3 +1,6 @@
++import os
++import sys
++
+ # create build environment and options
+ env = Environment()
+ opts = Options()
+@@ -38,12 +41,14 @@
+
+ # PLATFORM posix or pure cygwin
+ else:
+-
++ SDL_CONFIG = os.environ['SDL_CONFIG']
+ # determine compiler and linker flags for SDL
+- env.ParseConfig('sdl-config --cflags')
+- env.ParseConfig('sdl-config --libs')
++ env.ParseConfig(SDL_CONFIG + ' --cflags')
++ env.ParseConfig(SDL_CONFIG + ' --libs')
+ # add additional compiler flags
+- env.Append(CCFLAGS = ['-O2'])
++ env.Replace(CC = os.environ['CC'])
++ env.Replace(CXX = os.environ['CXX'])
++ env.Replace(CXXFLAGS = os.environ['CXXFLAGS'] + ' `' + SDL_CONFIG + ' --cflags`')
+ # add additional libraries to link against
+ env.Append(LIBS = ['SDL_image', 'SDL_ttf'])
+
+@@ -71,7 +76,7 @@
+ if not env.GetOption('clean'):
+ print ":: Checking for libs"
+ conf = Configure(env)
+- if not conf.CheckLibWithHeader('libSDL', 'SDL.h', 'c', 'SDL_Init(SDL_INIT_VIDEO);'):
++ if not conf.CheckLibWithHeader('libSDL-1.1', 'SDL.h', 'c', 'SDL_Init(SDL_INIT_VIDEO);'):
+ print 'Did not find libSDL, exiting!'
+ Exit(1)
+ if not conf.CheckLibWithHeader('libSDL_image', 'SDL_image.h', 'c', 'IMG_GetError();'):