Diff patchelf-0.18.0 with a patchelf-0.19.3
| /usr/portage/dev-util/patchelf/patchelf-0.19.3.ebuild 2026-11-03 20:01:06.017027988 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 |
EAPI=8 |
|
| 4 |
EAPI=9 |
|
| 5 | 5 | |
| 6 |
inherit autotools |
|
| 6 |
inherit autotools toolchain-funcs |
|
| 7 | 7 | |
| 8 | 8 |
DESCRIPTION="Small utility to modify the dynamic linker and RPATH of ELF executables" |
| 9 | 9 |
HOMEPAGE="https://github.com/NixOS/patchelf" |
| 10 | 10 |
SRC_URI="https://github.com/NixOS/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
| 11 |
SLOT="0" |
|
| 12 |
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~mips ppc ppc64 ~riscv ~s390 x86" |
|
| 13 | 11 |
LICENSE="GPL-3" |
| 12 |
SLOT="0" |
|
| 13 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~x86" |
|
| 14 |
IUSE="test" |
|
| 15 |
RESTRICT="!test? ( test )" |
|
| 14 | 16 | |
| 15 | 17 |
PATCHES=( |
| 16 | 18 |
"${FILESDIR}"/${PN}-glibc-dt-mips-xhash.patch
|
| 17 |
"${FILESDIR}"/${PN}-0.18.0-alpha.patch
|
|
| 18 | 19 |
) |
| 19 | 20 | |
| 20 | 21 |
src_prepare() {
|
| ... | ... | |
| 27 | 28 | |
| 28 | 29 |
eautoreconf |
| 29 | 30 |
} |
| 31 | ||
| 32 |
src_configure() {
|
|
| 33 |
use test && tc-ld-is-mold && tc-ld-force-bfd |
|
| 34 |
default |
|
| 35 |
} |
|