Group :: Jogos/Arcade
RPM: btanks
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: btanks-scons-3.0.3.patch
Download
Download
diff -rup a/SConstruct b/SConstruct
--- a/SConstruct 2009-12-10 15:58:55.000000000 +0100
+++ b/SConstruct 2019-02-08 13:30:13.982053241 +0100
@@ -16,7 +16,7 @@ picLibBuilder = Builder(
env['BUILDERS']['StaticLibrary'] = picLibBuilder
env['BUILDERS']['Library'] = picLibBuilder
-opts = Options(['options.cache'])
+opts = Variables(['options.cache'])
#opts.Add('CC', 'C compiler')
#opts.Add('CXX', 'C++ compiler')
opts.Add('CCFLAGS', 'General options that are passed to the C compiler')
@@ -33,9 +33,9 @@ if sys.platform != "win32":
opts.Add('lib_dir', 'resources directory (default: prefix/lib)', '')
opts.Add('plugins_dir', 'plugins directory (default: prefix/lib/btanks)', '')
opts.Add('resources_dir', 'resources directory (default: prefix/share/btanks)', '')
- opts.Add(BoolOption('gcc_visibility', 'gcc visibility', 'true'))
+ opts.Add(BoolVariable('gcc_visibility', 'gcc visibility', 'true'))
-opts.Add(EnumOption('mode', 'build mode', 'release', allowed_values=('debug','release')))
+opts.Add(EnumVariable('mode', 'build mode', 'release', allowed_values=('debug','release')))
opts.Update(env)
opts.Save('options.cache', env.Clone())