archrelease: copy trunk to community-any
[ArchLinux/community.git] / glob2 / repos / community-x86_64 / glob2-scons3.patch
blobfc080083934a79ac8338caa505b2e622bc7253f5
1 --- glob2-0.9.4.4/SConstruct.orig 2019-01-15 14:58:36.130370433 +0100
2 +++ glob2-0.9.4.4/SConstruct 2019-01-15 15:03:13.040240416 +0100
3 @@ -13,7 +13,7 @@
6 def establish_options(env):
7 - opts = Options('options_cache.py')
8 + opts = Variables('options_cache.py')
9 opts.Add("CXXFLAGS", "Manually add to the CXXFLAGS", "-g")
10 opts.Add("LINKFLAGS", "Manually add to the LINKFLAGS", "-g")
11 if isDarwinPlatform:
12 @@ -22,10 +22,10 @@
13 opts.Add("INSTALLDIR", "Installation Directory", "/usr/local/share")
14 opts.Add("BINDIR", "Binary Installation Directory", "/usr/local/bin")
15 opts.Add("DATADIR", "Directory where data will be put, set to the same as INSTALLDIR", "/usr/local/share")
16 - opts.Add(BoolOption("release", "Build for release", 0))
17 - opts.Add(BoolOption("profile", "Build with profiling on", 0))
18 - opts.Add(BoolOption("mingw", "Build with mingw enabled if not auto-detected", 0))
19 - opts.Add(BoolOption("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0))
20 + opts.Add(BoolVariable("release", "Build for release", 0))
21 + opts.Add(BoolVariable("profile", "Build with profiling on", 0))
22 + opts.Add(BoolVariable("mingw", "Build with mingw enabled if not auto-detected", 0))
23 + opts.Add(BoolVariable("server", "Build only the YOG server, excluding the game and any GUI/sound components", 0))
24 opts.Add("font", "Build the game using an alternative font placed in the data/font folder", "sans.ttf")
25 Help(opts.GenerateHelpText(env))
26 opts.Update(env)