aboutsummaryrefslogtreecommitdiff
path: root/games/endless-sky/files/patch-SConstruct
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2020-05-03 02:44:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2020-05-03 02:44:46 +0000
commite8a530a3bcec02ac516b51493b4f2c4da0c71bc7 (patch)
tree73d77232cd838d65aec337162d483244a7b6ddcd /games/endless-sky/files/patch-SConstruct
parent29c878486a166e7ccaeecaf6568d1f6e25056ea5 (diff)
downloadports-e8a530a3bcec02ac516b51493b4f2c4da0c71bc7.tar.gz
ports-e8a530a3bcec02ac516b51493b4f2c4da0c71bc7.zip
- Update to 0.9.12
Notes
Notes: svn path=/head/; revision=533733
Diffstat (limited to 'games/endless-sky/files/patch-SConstruct')
-rw-r--r--games/endless-sky/files/patch-SConstruct19
1 files changed, 5 insertions, 14 deletions
diff --git a/games/endless-sky/files/patch-SConstruct b/games/endless-sky/files/patch-SConstruct
index 0f1b2b956c16..6595593e6704 100644
--- a/games/endless-sky/files/patch-SConstruct
+++ b/games/endless-sky/files/patch-SConstruct
@@ -1,15 +1,6 @@
---- SConstruct.orig 2019-09-28 17:59:47 UTC
+--- SConstruct.orig 2020-02-24 15:50:12 UTC
+++ SConstruct
-@@ -2,6 +2,8 @@ import os
-
- # Load environment variables, including some that should be renamed.
- env = Environment(ENV = os.environ)
-+if 'CXX' in os.environ:
-+ env['CXX'] = os.environ['CXX']
- if 'CXXFLAGS' in os.environ:
- env.Append(CCFLAGS = os.environ['CXXFLAGS'])
- if 'LDFLAGS' in os.environ:
-@@ -22,7 +24,7 @@ Help(opts.GenerateHelpText(env))
+@@ -24,7 +24,7 @@ Help(opts.GenerateHelpText(env))
flags = ["-std=c++11", "-Wall"]
if env["mode"] != "debug":
@@ -18,7 +9,7 @@
if env["mode"] == "debug":
flags += ["-g"]
if env["mode"] == "profile":
-@@ -57,7 +59,7 @@ sky = env.Program("endless-sky", Glob(buildDirectory +
+@@ -59,7 +59,7 @@ sky = env.Program("endless-sky", Glob(buildDirectory +
# Install the binary:
@@ -27,7 +18,7 @@
# Install the desktop file:
env.Install("$DESTDIR$PREFIX/share/applications", "endless-sky.desktop")
-@@ -85,7 +87,7 @@ if env.get("PREFIX").startswith("/usr/"):
+@@ -87,7 +87,7 @@ if env.get("PREFIX").startswith("/usr/"):
# Install the man page.
env.Command(
@@ -36,7 +27,7 @@
"endless-sky.6",
"gzip -c $SOURCE > $TARGET")
-@@ -98,11 +100,11 @@ def RecursiveInstall(env, target, source):
+@@ -100,11 +100,11 @@ def RecursiveInstall(env, target, source):
RecursiveInstall(env, os.path.join(target, name), node.abspath)
else:
env.Install(target, node)