diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2007-06-17 03:50:22 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2007-06-17 03:50:22 +0000 |
commit | e3aa7155b222869346e14cfb6bd90ec5cd400ffb (patch) | |
tree | ba603f95c58a6cb0160a79fc5b395f9323f9ab6c /games/widelands | |
parent | 2b5c2cd81fa5a7698a5fa3a13c6ec5a63c4304e7 (diff) | |
download | ports-e3aa7155b222869346e14cfb6bd90ec5cd400ffb.tar.gz ports-e3aa7155b222869346e14cfb6bd90ec5cd400ffb.zip |
Notes
Diffstat (limited to 'games/widelands')
-rw-r--r-- | games/widelands/Makefile | 2 | ||||
-rw-r--r-- | games/widelands/files/patch-SConstruct | 23 | ||||
-rw-r--r-- | games/widelands/files/patch-src_SConscript | 19 |
3 files changed, 42 insertions, 2 deletions
diff --git a/games/widelands/Makefile b/games/widelands/Makefile index 5dca9e802e30..f8ca1004cee8 100644 --- a/games/widelands/Makefile +++ b/games/widelands/Makefile @@ -31,8 +31,6 @@ SCONS_ARGS= CXXFLAGS="${CXXFLAGS}" LINKFLAGS="${LDFLAGS}" \ install_prefix=${PREFIX} bindir=bin datadir=share/widelands post-patch: - @${REINPLACE_CMD} -e 's|options=opts|options=opts, **dict((k, v.split()) for k, v in ARGUMENTS.iteritems())|' \ - ${WRKSRC}/SConstruct @${REINPLACE_CMD} -e 's|, True||' ${WRKSRC}/worlds/SConscript @${RM} -f ${WRKSRC}/worlds/SConscript.bak diff --git a/games/widelands/files/patch-SConstruct b/games/widelands/files/patch-SConstruct new file mode 100644 index 000000000000..8d6d9c45949f --- /dev/null +++ b/games/widelands/files/patch-SConstruct @@ -0,0 +1,23 @@ +--- SConstruct.orig Mon Mar 12 21:39:30 2007 ++++ SConstruct Sat Jun 2 03:49:26 2007 +@@ -122,9 +122,11 @@ + # + # Create configuration objects + ++SConsignFile('build/scons-signatures') ++ + opts=cli_options() + +-env=Environment(options=opts) ++env=Environment(options=opts, **dict((k, v.split()) for k, v in ARGUMENTS.iteritems())) + env.Help(opts.GenerateHelpText(env)) + + conf=env.Configure(conf_dir='#/build/sconf_temp',log_file='#build/config.log', +@@ -287,7 +289,6 @@ + + ################################################################### Build things + +-SConsignFile('build/scons-signatures') + BUILDDIR='build/'+TARGET+'-'+env['build'] + Export('env', 'Glob', 'BUILDDIR', 'PhonyTarget') + diff --git a/games/widelands/files/patch-src_SConscript b/games/widelands/files/patch-src_SConscript new file mode 100644 index 000000000000..9112e596d900 --- /dev/null +++ b/games/widelands/files/patch-src_SConscript @@ -0,0 +1,19 @@ +--- src/SConscript.orig Mon Feb 19 19:33:47 2007 ++++ src/SConscript Sat Jun 2 02:47:39 2007 +@@ -5,7 +5,7 @@ + + SRC=Glob('*.cc') + +-srcenv=env.Copy() ++srcenv=env.Copy(LIBPATH=[]) + + srcenv.Append(CPPPATH=[ + '#/src', +@@ -22,6 +22,7 @@ + srcenv.Append(LIBS='editor', LIBPATH='editor') + srcenv.Append(LIBS='editoruimenus', LIBPATH='editor/ui_menus') + srcenv.Append(LIBS='editortools', LIBPATH='editor/tools') ++srcenv.Append(LIBPATH=env['LIBPATH']) + + SConscript('editor/SConscript') + SConscript('ui/ui_basic/SConscript') |