svn commit: r397007 - head/math/gringo/files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Sep 15 17:31:21 UTC 2015
Author: amdmi3
Date: Tue Sep 15 17:31:20 2015
New Revision: 397007
URL: https://svnweb.freebsd.org/changeset/ports/397007
Log:
- Fix build with ccache by making SCons preserve environment
PR: 202394
Submitted by: amdmi3
Approved by: maintainer timeout (vsevolod, 1 month)
Added:
head/math/gringo/files/patch-SConstruct (contents, props changed)
Added: head/math/gringo/files/patch-SConstruct
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/math/gringo/files/patch-SConstruct Tue Sep 15 17:31:20 2015 (r397007)
@@ -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++'
More information about the svn-ports-head
mailing list