Сравнение binutils-libs-2.37_p1-r2 с binutils-libs-2.38-r2
| /usr/portage/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild 2025-07-29 16:22:17.932470225 +0300 | ||
|---|---|---|
| 3 | 3 | |
| 4 | 4 |
EAPI=7 |
| 5 | 5 | |
| 6 |
PATCH_VER=2 |
|
| 6 |
PATCH_VER=4 |
|
| 7 | 7 |
PATCH_DEV=dilfridge |
| 8 | 8 | |
| 9 | 9 |
inherit flag-o-matic libtool toolchain-funcs multilib-minimal |
| ... | ... | |
| 22 | 22 |
LICENSE="|| ( GPL-3 LGPL-3 )" |
| 23 | 23 |
SLOT="0/${PV%_p?}"
|
| 24 | 24 |
IUSE="64-bit-bfd cet multitarget nls static-libs" |
| 25 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" |
|
| 25 |
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris" |
|
| 26 | 26 | |
| 27 | 27 |
BDEPEND="nls? ( sys-devel/gettext )" |
| 28 | 28 |
DEPEND="sys-libs/zlib[${MULTILIB_USEDEP}]"
|
| ... | ... | |
| 46 | 46 |
# Fix cross-compile relinking issue, bug #626402 |
| 47 | 47 |
elibtoolize |
| 48 | 48 | |
| 49 |
if [[ ${CHOST} == *-darwin* ]] ; then
|
|
| 50 |
# somehow libtool/configure is messed up and (custom patch at |
|
| 51 |
# upstream?) and misdetects (basically assumes) nm can be called |
|
| 52 |
# with -B arg -- can't run eautoreconf (fails), so patch up |
|
| 53 |
# manually, this would break any target that needs -B to nm |
|
| 54 |
sed -i -e 's/lt_cv_path_NM="$tmp_nm -B"/lt_cv_path_NM="$tmp_nm"/' \ |
|
| 55 |
libctf/configure || die |
|
| 56 |
fi |
|
| 57 | ||
| 58 |
# See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html |
|
| 59 |
# Avoid really confusing logs from subconfigure spam, makes logs far |
|
| 60 |
# more legible. |
|
| 61 |
MAKEOPTS="--output-sync=line ${MAKEOPTS}"
|
|
| 62 | ||
| 49 | 63 |
default |
| 50 | 64 |
} |
| 51 | 65 | |
| ... | ... | |
| 119 | 133 |
"${S}"/opcodes/Makefile.in || die
|
| 120 | 134 |
fi |
| 121 | 135 | |
| 122 |
ECONF_SOURCE=${S} \
|
|
| 123 |
econf "${myconf[@]}"
|
|
| 136 |
ECONF_SOURCE="${S}" econf "${myconf[@]}"
|
|
| 124 | 137 | |
| 125 | 138 |
# Prevent makeinfo from running as we don't build docs here. |
| 126 | 139 |
# bug #622652 |
| ... | ... | |
| 129 | 142 |
Makefile || die |
| 130 | 143 |
} |
| 131 | 144 | |
| 145 |
multilib_src_compile() {
|
|
| 146 |
emake V=1 |
|
| 147 |
} |
|
| 148 | ||
| 132 | 149 |
multilib_src_install() {
|
| 133 |
default |
|
| 150 |
emake V=1 DESTDIR="${D}" install
|
|
| 151 | ||
| 134 | 152 |
# Provide libiberty.h directly. |
| 135 | 153 |
dosym libiberty/libiberty.h /usr/include/libiberty.h |
| 136 | 154 |
} |