mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 12:58:16 -07:00
sys-devel/patch: fix incorrect reliance on split-usr
It hardcodes a compile-time path to `ed`. This is known and handled
already because ${ED} is part of portage and does not point to `ed`. But
the "fix" was to do a $PATH lookup, which in turn broke binpackage
hosting (and profile migration, likely).
The package doesn't have USE=split-usr and we shouldn't add one just for
this. Make sure the portable API filename is used.
Bug: https://bugs.gentoo.org/470210
Closes: https://bugs.gentoo.org/957593
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
@@ -68,8 +68,9 @@ src_configure() {
|
||||
# rename to gpatch for better BSD compatibility
|
||||
--program-prefix=g
|
||||
)
|
||||
# Do not let $ED mess up the search for `ed` 470210.
|
||||
ac_cv_path_ED=$(type -P ed) \
|
||||
# Do not let $ED or $PATH (split-usr) mess up the search for `ed`:
|
||||
# bug 470210 / bug 957593
|
||||
ac_cv_path_ED="${EPREFIX}/bin/ed" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
@@ -58,8 +58,9 @@ src_configure() {
|
||||
# rename to gpatch for better BSD compatibility
|
||||
--program-prefix=g
|
||||
)
|
||||
# Do not let $ED mess up the search for `ed` 470210.
|
||||
ac_cv_path_ED=$(type -P ed) \
|
||||
# Do not let $ED or $PATH (split-usr) mess up the search for `ed`:
|
||||
# bug 470210 / bug 957593
|
||||
ac_cv_path_ED="${EPREFIX}/bin/ed" \
|
||||
econf "${myeconfargs[@]}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user