Gentoo Archives: gentoo-commits

From: Michael Haubenwallner <haubi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/prefix:master commit in: dev-libs/openssl/
Date: Fri, 15 Feb 2019 20:10:20
Message-Id: 1550261363.cc714265770c0f3f29ce18296af82010b3a8a824.haubi@gentoo
1 commit: cc714265770c0f3f29ce18296af82010b3a8a824
2 Author: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 15 20:07:46 2019 +0000
4 Commit: Michael Haubenwallner <haubi <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 15 20:09:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=cc714265
7
8 dev-libs/openssl: ignore MS Azure agent env vars
9
10 The ./config script does listen to MACHINE, RELEASE, SYSTEM and VERSION
11 environment variables for detecting the build system. The MS Azure
12 build agent does set SYSTEM=build, so ./config --test-sanity fails with:
13 Operating system: x86_64-whatever-build
14 This system (build) is not supported. See file INSTALL for details.
15
16 Package-Manager: Portage-2.3.55.1-prefix, Repoman-2.3.12
17 Signed-off-by: Michael Haubenwallner <haubi <AT> gentoo.org>
18
19 dev-libs/openssl/openssl-1.1.1a-r1.ebuild | 2 ++
20 1 file changed, 2 insertions(+)
21
22 diff --git a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
23 index a6f6e713e2..408137ed25 100644
24 --- a/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
25 +++ b/dev-libs/openssl/openssl-1.1.1a-r1.ebuild
26 @@ -139,6 +139,8 @@ src_prepare() {
27 fi
28 # The config script does stupid stuff to prompt the user. Kill it.
29 sed -i '/stty -icanon min 0 time 50; read waste/d' config || die
30 + # The MS Azure build agent does set SYSTEM=build. Ignore such vars.
31 + sed -i '1aunset MACHINE RELEASE SYSTEM VERSION' config || die
32 ./config --test-sanity || die "I AM NOT SANE"
33
34 multilib_copy_sources