commit: cc714265770c0f3f29ce18296af82010b3a8a824
Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 15 20:07:46 2019 +0000
Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
CommitDate: Fri Feb 15 20:09:23 2019 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=cc714265
dev-libs/openssl: ignore MS Azure agent env vars
The ./config script does listen to MACHINE, RELEASE, SYSTEM and VERSION
environment variables for detecting the build system. The MS Azure
build agent does set SYSTEM=build, so ./config --test-sanity fails with:
Operating system: x86_64-whatever-build
This system (build) is not supported. See file INSTALL for details.
Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12
Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>
dev-libs/openssl/openssl-1.1.1a-r1.ebuild | 2 ++
1 file changed, 2 insertions(+)
diff --git a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
index a6f6e713e2..408137ed25 100644
--- a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
+++ b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
@@ -139,6 +139,8 @@ src_prepare() {
fi
# The config script does stupid stuff to prompt the user. Kill it.
sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
+ # The MS Azure build agent does set SYSTEM=build. Ignore such vars.
+ sed -i '1aunset MACHINE RELEASE SYSTEM VERSION' config || die
./config --test-sanity || die "I AM NOT SANE"
multilib_copy_sources