aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-04-14 11:44:17 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-04-14 11:44:17 +0800
commit8409bfd60beee82c9e67ad32e33ed274f7ff6cb2 (patch)
tree4815777fb3ac11fc64d869d91577d127f89c6f80 /sysutils
parent6816442424a53fda45dddfc0669daa3bab34fc6d (diff)
downloadfreebsd-ports-graphics-8409bfd60beee82c9e67ad32e33ed274f7ff6cb2.tar.gz
freebsd-ports-graphics-8409bfd60beee82c9e67ad32e33ed274f7ff6cb2.tar.zst
freebsd-ports-graphics-8409bfd60beee82c9e67ad32e33ed274f7ff6cb2.zip
- Make scons preserve environment to fix build with ccache
PR: 199425 Submitted by: amdmi3 Approved by: samm@os2.kiev.ua (maintainer)
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-exfat/files/patch-SConstruct14
1 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/fusefs-exfat/files/patch-SConstruct b/sysutils/fusefs-exfat/files/patch-SConstruct
new file mode 100644
index 00000000000..12f927090da
--- /dev/null
+++ b/sysutils/fusefs-exfat/files/patch-SConstruct
@@ -0,0 +1,14 @@
+--- SConstruct.orig 2015-04-13 20:50:01.073662000 +0300
++++ SConstruct 2015-04-13 20:54:33.231753000 +0300
+@@ -22,10 +22,7 @@
+ import platform
+ import SCons
+
+-env = Environment(**ARGUMENTS)
+-for var in ['PATH', 'SYSROOT']:
+- if var in os.environ:
+- env['ENV'][var] = os.environ[var]
++env = Environment(ENV = os.environ, **ARGUMENTS)
+
+ destdir = env.get('DESTDIR', '/sbin');
+ libs = ['exfat']