Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Sep 2015 17:31:20 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r397007 - head/math/gringo/files
Message-ID:  <201509151731.t8FHVKOx003658@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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++'



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509151731.t8FHVKOx003658>