mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user