mirror of
https://github.com/flatcar/scripts.git
synced 2026-02-28 19:11:35 +01:00
sys-libs/zlib: Sync with Gentoo
It's from Gentoo commit 8d58c40d71676b3e9497d32a01c43eb7ce9c523a. Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
parent
d4ed5a4004
commit
118aeff53a
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -23,7 +23,7 @@ SRC_URI="
|
||||
|
||||
LICENSE="ZLIB"
|
||||
SLOT="0/1" # subslot = SONAME
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="minizip static-libs"
|
||||
|
||||
RDEPEND="!sys-libs/zlib-ng[compat]"
|
||||
@ -88,6 +88,11 @@ multilib_src_configure() {
|
||||
# bug #347167
|
||||
local uname=$("${BROOT}"/usr/share/gnuconfig/config.sub "${CHOST}" | cut -d- -f3)
|
||||
|
||||
# for GNU Hurd
|
||||
if [[ ${uname} == gnu ]] ; then
|
||||
uname=GNU
|
||||
fi
|
||||
|
||||
local myconf=(
|
||||
--shared
|
||||
--prefix="${EPREFIX}/usr"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user