1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00
freebsd-ports/math/gringo/files/patch-SConstruct
Dmitry Marakasov cccd8adbd6 - Fix build with ccache by making SCons preserve environment
PR:		202394
Submitted by:	amdmi3
Approved by:	maintainer timeout (vsevolod, 1 month)
2015-09-15 17:31:20 +00:00

21 lines
534 B
Plaintext

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