diff options
Diffstat (limited to 'math/gringo/files/patch-SConstruct')
-rw-r--r-- | math/gringo/files/patch-SConstruct | 20 |
1 files changed, 20 insertions, 0 deletions
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++' |