1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/games/pingus/files/patch-SConscript
Dmitry Marakasov 70896fdbe0 - Update to 0.7.6
- Take maintainership

PR:		194341, 194711
2014-11-23 13:29:57 +00:00

14 lines
433 B
Plaintext

Properly split multiple arguments passed via CXXFLAGS
--- SConscript.orig 2014-10-17 23:53:30.000000000 +0400
+++ SConscript 2014-10-17 23:53:48.000000000 +0400
@@ -119,6 +119,9 @@
'CheckSDLLib': CheckSDLLib,
'CheckIconv': CheckIconv,
})
+
+ self.env["CXXFLAGS"] = sum(map (lambda x: x.split(" "), self.env["CXXFLAGS"]), [])
+
self.fatal_error = ""
self.reports = ""