sys-devel/slibtool: fix the build in some chroots

When building slibtool in a chroot where the SHELL is set as
/sbin/nologin the sofort configure will fail. This can be worked around
for now by explicitly setting the shell as /bin/sh during configure.

Also fixes the libdir path and updates to EAPI=8.

Closes: https://bugs.gentoo.org/905721
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/30878
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
orbea
2023-05-04 18:23:35 -07:00
committed by Sam James
parent 100ef78b2b
commit b53a8bbfb7
2 changed files with 8 additions and 6 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
@@ -32,6 +32,7 @@ src_configure() {
--compiler="$(tc-getCC)" \
--host=${CHOST} \
--prefix="${EPREFIX}"/usr \
--libdir="$(get_libdir)" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--shell="${EPREFIX}"/bin/sh \
|| die
}

View File

@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit toolchain-funcs
@@ -32,6 +32,7 @@ src_configure() {
--compiler="$(tc-getCC)" \
--host=${CHOST} \
--prefix="${EPREFIX}"/usr \
--libdir="$(get_libdir)" \
--libdir="${EPREFIX}/usr/$(get_libdir)" \
--shell="${EPREFIX}"/bin/sh \
|| die
}