Diff binutils-libs-2.37_p1-r2 with a binutils-libs-2.38-r2

/usr/portage/sys-libs/binutils-libs/binutils-libs-2.38-r2.ebuild 2023-10-09 14:52:35.536368503 +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 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 ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~x64-macos ~x64-solaris"
25
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~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

  
......
114 128
			"${S}"/opcodes/Makefile.in || die
115 129
	fi
116 130

  
117
	ECONF_SOURCE=${S} \
118
	econf "${myconf[@]}"
131
	ECONF_SOURCE="${S}" econf "${myconf[@]}"
119 132

  
120 133
	# Prevent makeinfo from running as we don't build docs here.
121 134
	# bug #622652
......
124 137
		Makefile || die
125 138
}
126 139

  
140
multilib_src_compile() {
141
	emake V=1
142
}
143

  
127 144
multilib_src_install() {
128
	default
145
	emake V=1 DESTDIR="${D}" install
146

  
129 147
	# Provide libiberty.h directly.
130 148
	dosym libiberty/libiberty.h /usr/include/libiberty.h
131 149
}
Thank you!