opnsense-ports/math/gringo/files/patch-SConstruct
Franco Fichtner 5dae921a58 */*: sync with upstream
Taken from: FreeBSD
2015-09-16 07:33:34 +02:00

20 lines
534 B
Text

--- 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++'