From cccd8adbd6f451594ad7b2086463913480859b62 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 15 Sep 2015 17:31:20 +0000 Subject: - Fix build with ccache by making SCons preserve environment PR: 202394 Submitted by: amdmi3 Approved by: maintainer timeout (vsevolod, 1 month) --- math/gringo/files/patch-SConstruct | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 math/gringo/files/patch-SConstruct (limited to 'math/gringo') diff --git a/math/gringo/files/patch-SConstruct b/math/gringo/files/patch-SConstruct new file mode 100644 index 000000000000..3d488727f4f8 --- /dev/null +++ b/math/gringo/files/patch-SConstruct @@ -0,0 +1,20 @@ +--- SConstruct.orig 2015-07-13 17:25:17 UTC ++++ SConstruct +@@ -19,7 +19,7 @@ + + # }}} + +-from os import mkdir ++from os import mkdir, environ + from os.path import join, exists + + if not exists("build"): mkdir("build") +@@ -52,7 +52,7 @@ opts.AddVariables( + ('WITH_CPPUNIT' , 'enable target test, running unit tests using cppunit; None, "auto", or library name or test'), + ) + +-env = Environment() ++env = Environment(ENV = environ) + env['BISON'] = 'bison' + env['RE2C'] = 're2c' + env['CXX'] = 'g++' -- cgit v1.2.3