diff options
author | Mike Gilbert <floppym@gentoo.org> | 2023-01-13 15:42:09 -0500 |
---|---|---|
committer | Mike Gilbert <floppym@gentoo.org> | 2023-01-13 15:42:53 -0500 |
commit | 2a91638573ba9e4b0dbca6c817c3fa318c47416c (patch) | |
tree | 4f9228b0c95479bfd18c0e27f6cb7baa06a9d67b /dev-libs/openssl | |
parent | dev-python/pydevd: Remove old (diff) | |
download | gentoo-2a91638573ba9e4b0dbca6c817c3fa318c47416c.tar.gz gentoo-2a91638573ba9e4b0dbca6c817c3fa318c47416c.tar.bz2 gentoo-2a91638573ba9e4b0dbca6c817c3fa318c47416c.zip |
dev-libs/openssl: fix config call in src_prepare
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'dev-libs/openssl')
-rw-r--r-- | dev-libs/openssl/openssl-1.1.1s-r1.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild b/dev-libs/openssl/openssl-1.1.1s-r1.ebuild index cadb162ac5ec..e2f32f1b8861 100644 --- a/dev-libs/openssl/openssl-1.1.1s-r1.ebuild +++ b/dev-libs/openssl/openssl-1.1.1s-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -160,10 +160,12 @@ src_prepare() { local sslout=$(./gentoo.config) einfo "Using configuration: ${sslout:-(openssl knows best)}" + local config="Configure" + [[ -z ${sslout} ]] && config="config" # 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 - ./config ${sslout} --test-sanity || die "I AM NOT SANE" + edo ./${config} ${sslout} --test-sanity || die "I AM NOT SANE" multilib_copy_sources } |