summaryrefslogtreecommitdiffstats
path: root/games/marsnomercy/files/patch-SConstruct
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
committermiwi <miwi@FreeBSD.org>2008-04-19 17:56:05 +0000
commitbce9b81f9d6099820f3839d7809d6b08c1d2ae7b (patch)
treef5dd7c3a8dbebad79bdb5e844aeb69c59a9fd12c /games/marsnomercy/files/patch-SConstruct
parent2eea5f1d2e44418020f8f4db08d40bea6915b6e8 (diff)
downloadFreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.zip
FreeBSD-ports-bce9b81f9d6099820f3839d7809d6b08c1d2ae7b.tar.gz
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
Diffstat (limited to 'games/marsnomercy/files/patch-SConstruct')
-rw-r--r--games/marsnomercy/files/patch-SConstruct6
1 files changed, 3 insertions, 3 deletions
diff --git a/games/marsnomercy/files/patch-SConstruct b/games/marsnomercy/files/patch-SConstruct
index 5def552..1ab7e68 100644
--- a/games/marsnomercy/files/patch-SConstruct
+++ b/games/marsnomercy/files/patch-SConstruct
@@ -6,7 +6,7 @@
else:
+ # Section used for FreeBSD port
+ LOCALBASE = os.environ['LOCALBASE']
-+ X11BASE = os.environ['X11BASE']
++ LOCALBASE = os.environ['LOCALBASE']
# determine compiler and linker flags for SDL
- env.ParseConfig('sdl-config --cflags')
- env.ParseConfig('sdl-config --libs')
@@ -19,8 +19,8 @@
-
+ env.Replace(CC = os.environ['CC'])
+ env.Replace(CXX = os.environ['CXX'])
-+ env.Replace(CPPPATH = [X11BASE + '/include',LOCALBASE+ '/include'])
-+ env.Replace(LIBPATH = [X11BASE + '/lib',LOCALBASE+ '/lib'])
++ env.Replace(CPPPATH = [LOCALBASE + '/include',LOCALBASE+ '/include'])
++ env.Replace(LIBPATH = [LOCALBASE + '/lib',LOCALBASE+ '/lib'])
+ env.Append(CXXFLAGS = os.environ['CXXFLAGS'] + ' `' + SDL_CONFIG + ' --cflags`')
# generate help for options
OpenPOWER on IntegriCloud