mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
sys-apps/which: workaround ancient getopt on musl
Bug: https://bugs.gentoo.org/945958 Closes: https://bugs.gentoo.org/954755 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
inherit flag-o-matic toolchain-funcs
|
||||
|
||||
DESCRIPTION="Prints out location of specified executables that are in your path"
|
||||
HOMEPAGE="https://carlowood.github.io/which/"
|
||||
@@ -16,5 +16,8 @@ KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390
|
||||
src_configure() {
|
||||
tc-export AR
|
||||
|
||||
# Workaround ancient getopt vs C23 (bug #954755)
|
||||
use elibc_musl && append-cppflags -D__GNU_LIBRARY__
|
||||
|
||||
CONFIG_SHELL="${BROOT}"/bin/bash econf
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user