summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-04-03 17:27:11 +0100
committerSam James <sam@gentoo.org>2021-04-11 20:59:59 +0000
commit3cc3c088b3110126be84f74c0b8ffe0a6daab24f (patch)
tree5a7d53304530867617ee76650a442853f0a8316b /eclass
parentautotools.eclass: use gnuconfig.eclass for finding latest config.{guess, sub} (diff)
downloadgentoo-3cc3c088b3110126be84f74c0b8ffe0a6daab24f.tar.gz
gentoo-3cc3c088b3110126be84f74c0b8ffe0a6daab24f.tar.bz2
gentoo-3cc3c088b3110126be84f74c0b8ffe0a6daab24f.zip
autotools.eclass: fix EAPI support logic in config_rpath_update
${EPREFIX} doesn't exist pre-EAPI 3, so let's make that clear. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/autotools.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index 054a31781e72..4a963d78db58 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -475,7 +475,7 @@ config_rpath_update() {
local dst src
case ${EAPI:-0} in
- 0|1|2|3|4|5|6)
+ 4|5|6)
src="${EPREFIX}/usr/share/gettext/config.rpath"
;;
*)