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

/usr/portage/sys-devel/binutils/binutils-2.38-r2.ebuild 2023-10-09 14:52:35.476368501 +0300
19 19
# PATCH_DEV          - Use download URI https://dev.gentoo.org/~{PATCH_DEV}/distfiles/...
20 20
#                      for the patchsets
21 21

  
22
PATCH_VER=2
22
PATCH_VER=4
23 23
PATCH_DEV=dilfridge
24 24

  
25 25
if [[ ${PV} == 9999* ]]; then
......
32 32
	[[ -z ${PATCH_VER} ]] || SRC_URI="${SRC_URI}
33 33
		https://dev.gentoo.org/~${PATCH_DEV}/distfiles/binutils-${PATCH_BINUTILS_VER}-patches-${PATCH_VER}.tar.xz"
34 34
	SLOT=$(ver_cut 1-2)
35
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
35
	KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
36 36
fi
37 37

  
38 38
#
......
152 152
}
153 153

  
154 154
src_configure() {
155
	# See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
156
	# Avoid really confusing logs from subconfigure spam, makes logs far
157
	# more legible.
158
	MAKEOPTS="--output-sync=line ${MAKEOPTS}"
159

  
155 160
	# Setup some paths
156 161
	LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
157 162
	INCPATH=${LIBPATH}/include
......
235 240
	fi
236 241

  
237 242
	myconf+=(
243
		# (--disable-silent-rules should get passed automatically w/ econf which we use
244
		# in >= 2.39, so can drop it then.)
245
		--disable-silent-rules
238 246
		--prefix="${EPREFIX}"/usr
239 247
		--host=${CHOST}
240 248
		--target=${CTARGET}
......
303 311
src_compile() {
304 312
	cd "${MY_BUILDDIR}"
305 313
	# see Note [tooldir hack for ldscripts]
306
	emake tooldir="${EPREFIX}${TOOLPATH}" all
314
	emake V=1 tooldir="${EPREFIX}${TOOLPATH}" all
307 315

  
308 316
	# only build info pages if the user wants them
309 317
	if use doc ; then
310
		emake info
318
		emake V=1 info
311 319
	fi
312 320

  
313 321
	# we nuke the manpages when we're left with junk
......
321 329
	# bug 637066
322 330
	filter-flags -Wall -Wreturn-type
323 331

  
324
	emake -k check
332
	emake -k V=1 check
325 333
}
326 334

  
327 335
src_install() {
......
329 337

  
330 338
	cd "${MY_BUILDDIR}"
331 339
	# see Note [tooldir hack for ldscripts]
332
	emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
340
	emake V=1 DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
333 341
	rm -rf "${ED}"/${LIBPATH}/bin
334 342
	use static-libs || find "${ED}" -name '*.la' -delete
335 343

  
Thank you!