Diff which-2.21 with a which-2.23

/usr/portage/sys-apps/which/which-2.23.ebuild 2025-12-22 20:18:06.994222010 +0300
1 1
# Copyright 1999-2025 Gentoo Authors
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4
EAPI=7
4
EAPI=8
5 5

  
6 6
inherit flag-o-matic toolchain-funcs
7 7

  
8 8
DESCRIPTION="Prints out location of specified executables that are in your path"
9 9
HOMEPAGE="https://carlowood.github.io/which/"
10
SRC_URI="https://carlowood.github.io/which/${P}.tar.gz"
10
SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
11 11

  
12 12
LICENSE="GPL-3"
13 13
SLOT="0"
14 14
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris"
15 15

  
16 16
src_configure() {
17
	append-lfs-flags
18 17
	tc-export AR
19
	default
18

  
19
	# Workaround ancient getopt vs C23 (bug #954755)
20
	if use elibc_musl || \
21
		[[ ${CHOST} == *-solaris* ]] || \
22
		[[ ${CHOST} == *-darwin* ]]
23
	then
24
		append-cppflags -D__GNU_LIBRARY__
25
	fi
26

  
27
	CONFIG_SHELL="${BROOT}"/bin/bash econf
20 28
}
Thank you!