aboutsummaryrefslogtreecommitdiff
path: root/math/gringo
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 17:31:20 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-15 17:31:20 +0000
commitcccd8adbd6f451594ad7b2086463913480859b62 (patch)
tree1281ae9ac8a7768aa3dc28627d590c0e54f3a196 /math/gringo
parentc2cc53d05bc5031d891e4214d6069e6beedf76fc (diff)
Notes
Diffstat (limited to 'math/gringo')
-rw-r--r--math/gringo/files/patch-SConstruct20
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++'