diff options
author | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
---|---|---|
committer | Antoine Brodin <antoine@FreeBSD.org> | 2021-01-01 10:11:34 +0000 |
commit | 26b4c8f71f91d22e081b27814782686edde0c90a (patch) | |
tree | 1c321c39372c25d8634e75b5c8e08edc676b296d /games/netpanzer/files/patch-SConstruct | |
parent | New port: math/py-optuna: A hyperparameter optimization framework (diff) |
Revert r559792 to unbreak INDEX and bulk -a
It seems a lot of reverse dependencies were missed
With hat: portmgr
Notes
Notes:
svn path=/head/; revision=559822
Diffstat (limited to 'games/netpanzer/files/patch-SConstruct')
-rw-r--r-- | games/netpanzer/files/patch-SConstruct | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/games/netpanzer/files/patch-SConstruct b/games/netpanzer/files/patch-SConstruct new file mode 100644 index 000000000000..a4bf784e5ad8 --- /dev/null +++ b/games/netpanzer/files/patch-SConstruct @@ -0,0 +1,19 @@ +--- SConstruct.orig 2016-04-09 13:14:00 UTC ++++ SConstruct +@@ -95,7 +95,7 @@ opts.AddVariables( + ('compilerprefix', 'sets the prefix for the cross linux compiler, example: i686-pc-linux-gnu-', ''), + ) + +-env = Environment(ENV = os.environ, options = opts) ++env = Environment(ENV = os.environ, options = opts, CC = os.environ['CC'], CXX = os.environ['CXX']) + Help(opts.GenerateHelpText(env)) + + env.Append( CCFLAGS = [ '-DPACKAGE_VERSION=\\"' + NPVERSION + '\\"' ] ) +@@ -202,6 +202,7 @@ elif thisplatform == 'win32': + else: + networkenv.ParseConfig(env['sdlconfig'] + ' --cflags --libs') + env.ParseConfig(env['sdlconfig'] + ' --cflags --libs') ++ env.Append( _LIBFLAGS = [ '-L%%LOCALBASE%%/lib' ] ) + # note: for some magic reason, now doesn't need to put the full path for + # SDL_mixer when using mingw crosscompilation + env.Append( LIBS = ['SDL_mixer' ] ) |