summaryrefslogtreecommitdiff
path: root/games/pingus/files/patch-SConscript
diff options
context:
space:
mode:
authorAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
committerAntoine Brodin <antoine@FreeBSD.org>2021-01-01 10:11:34 +0000
commit26b4c8f71f91d22e081b27814782686edde0c90a (patch)
tree1c321c39372c25d8634e75b5c8e08edc676b296d /games/pingus/files/patch-SConscript
parentNew 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
Diffstat (limited to 'games/pingus/files/patch-SConscript')
-rw-r--r--games/pingus/files/patch-SConscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/games/pingus/files/patch-SConscript b/games/pingus/files/patch-SConscript
new file mode 100644
index 000000000000..214f4d3ebb2f
--- /dev/null
+++ b/games/pingus/files/patch-SConscript
@@ -0,0 +1,13 @@
+Properly split multiple arguments passed via CXXFLAGS
+--- SConscript.orig 2011-12-24 21:46:47 UTC
++++ SConscript
+@@ -120,6 +120,9 @@ class Project:
+ 'CheckSDLLib': CheckSDLLib,
+ 'CheckIconv': CheckIconv,
+ })
++
++ self.env["CXXFLAGS"] = sum(map (lambda x: x.split(" "), self.env["CXXFLAGS"]), [])
++
+ self.fatal_error = ""
+ self.reports = ""
+