commit:     5e996d0ccda6670266632a5af345607c2d6a6aae
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Fri Jun  1 18:06:50 2018 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Fri Jun  1 18:06:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/proj/emacs.git/commit/?id=5e996d0c

elisp.eclass: Sync from gentoo repo.

 eclass/elisp.eclass | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 6745973..9a66ec5 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: elisp.eclass
@@ -75,7 +75,7 @@ case ${EAPI:-0} in
                inherit epatch
                EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} 
\
                        pkg_{setup,postinst,postrm} ;;
-       6)
+       6|7)
                EXPORT_FUNCTIONS src_{unpack,prepare,configure,compile,install} 
\
                        pkg_{setup,postinst,postrm} ;;
        *) die "${ECLASS}: EAPI ${EAPI} not supported" ;;
@@ -137,14 +137,14 @@ elisp_src_prepare() {
                fi
                case ${EAPI:-0} in
                        0|1|2|3|4|5) epatch "${file}" ;;
-                       6) eapply "${file}" ;;
+                       *) eapply "${file}" ;;
                esac
        done
 
        # apply any user patches
        case ${EAPI:-0} in
                0|1|2|3|4|5) epatch_user ;;
-               6) eapply_user ;;
+               *) eapply_user ;;
        esac
 
        if [[ -n ${ELISP_REMOVE} ]]; then

Reply via email to