dev-util/scons: Support envvar pass-through override
authorMichał Górny <mgorny@gentoo.org>
Wed, 9 May 2018 15:22:55 +0000 (17:22 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 9 May 2018 15:25:51 +0000 (17:25 +0200)
commitee2d9260e1f7cf0ad202cd29616f298ae7c0726d
tree6b92af5417fa4b284cad54c396d81d1c58e38dbe
parente87d2721975e85a3d2372f2807618e3f1ebda301
dev-util/scons: Support envvar pass-through override

Add a Gentoo-specific envvar that can be used to force passing through
of (ebuild) environment.  This can be used to disable the bad default
of wiping the entire environment and lets us restore sanity without
having to patch every SCons-using project out there.  Also should solve
Prefix problems without conditional patching.

Closes: https://bugs.gentoo.org/655322
dev-util/scons/files/scons-3.0.1-env-passthrough.patch [new file with mode: 0644]
dev-util/scons/scons-3.0.1-r1.ebuild [new file with mode: 0644]