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

/usr/portage/sys-devel/binutils/binutils-2.38-r2.ebuild 2024-12-25 14:59:52.791270183 +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 ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
35
	KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
36 36
fi
37 37

  
38 38
#
......
141 141
}
142 142

  
143 143
src_configure() {
144
	# See https://www.gnu.org/software/make/manual/html_node/Parallel-Output.html
145
	# Avoid really confusing logs from subconfigure spam, makes logs far
146
	# more legible.
147
	MAKEOPTS="--output-sync=line ${MAKEOPTS}"
148

  
144 149
	# Setup some paths
145 150
	LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
146 151
	INCPATH=${LIBPATH}/include
......
221 226
	fi
222 227

  
223 228
	myconf+=(
229
		# (--disable-silent-rules should get passed automatically w/ econf which we use
230
		# in >= 2.39, so can drop it then.)
231
		--disable-silent-rules
224 232
		--prefix="${EPREFIX}"/usr
225 233
		--host=${CHOST}
226 234
		--target=${CTARGET}
......
289 297
src_compile() {
290 298
	cd "${MY_BUILDDIR}"
291 299
	# see Note [tooldir hack for ldscripts]
292
	emake tooldir="${EPREFIX}${TOOLPATH}" all
300
	emake V=1 tooldir="${EPREFIX}${TOOLPATH}" all
293 301

  
294 302
	# only build info pages if the user wants them
295 303
	if use doc ; then
296
		emake info
304
		emake V=1 info
297 305
	fi
298 306

  
299 307
	# we nuke the manpages when we're left with junk
......
311 319
	# bug 637066
312 320
	filter-flags -Wall -Wreturn-type
313 321

  
314
	emake -k check
322
	emake -k V=1 check
315 323
}
316 324

  
317 325
src_install() {
......
319 327

  
320 328
	cd "${MY_BUILDDIR}"
321 329
	# see Note [tooldir hack for ldscripts]
322
	emake DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
330
	emake V=1 DESTDIR="${D}" tooldir="${EPREFIX}${LIBPATH}" install
323 331
	rm -rf "${ED}"/${LIBPATH}/bin
324 332
	use static-libs || find "${ED}" -name '*.la' -delete
325 333

  
Thank you!