summaryrefslogtreecommitdiff
path: root/sys-devel/patch
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel/patch')
-rw-r--r--sys-devel/patch/patch-2.7.6-r8.ebuild (renamed from sys-devel/patch/patch-2.7.6-r7.ebuild)5
-rw-r--r--sys-devel/patch/patch-2.8-r1.ebuild (renamed from sys-devel/patch/patch-2.8.ebuild)5
2 files changed, 6 insertions, 4 deletions
diff --git a/sys-devel/patch/patch-2.7.6-r7.ebuild b/sys-devel/patch/patch-2.7.6-r8.ebuild
index 5086678d2663..6ecba54d4ddd 100644
--- a/sys-devel/patch/patch-2.7.6-r7.ebuild
+++ b/sys-devel/patch/patch-2.7.6-r8.ebuild
@@ -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[@]}"
}
diff --git a/sys-devel/patch/patch-2.8.ebuild b/sys-devel/patch/patch-2.8-r1.ebuild
index 2eceb5f47355..30b3eb9f3a66 100644
--- a/sys-devel/patch/patch-2.8.ebuild
+++ b/sys-devel/patch/patch-2.8-r1.ebuild
@@ -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[@]}"
}