summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-24 20:34:28 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-24 20:34:28 +0000
commit72750410c866361983bf979f83fdcdef157dae08 (patch)
tree4d26f9797eb083db72fb42d194e855fc703fc8f6 /eclass/elisp.eclass
parentAdd missing ChangeLog entry from CVS log and update copyright date. (diff)
downloademacs-72750410c866361983bf979f83fdcdef157dae08.tar.gz
emacs-72750410c866361983bf979f83fdcdef157dae08.tar.bz2
emacs-72750410c866361983bf979f83fdcdef157dae08.zip
Undo changesets 1274 and 1275.
svn path=/emacs-overlay/; revision=1282
Diffstat (limited to 'eclass/elisp.eclass')
-rw-r--r--eclass/elisp.eclass28
1 files changed, 4 insertions, 24 deletions
diff --git a/eclass/elisp.eclass b/eclass/elisp.eclass
index 3095979..6fdbe84 100644
--- a/eclass/elisp.eclass
+++ b/eclass/elisp.eclass
@@ -42,7 +42,7 @@
# variable before inheriting elisp.eclass. Set it to the major version
# your package uses and the dependency will be adjusted.
-inherit elisp-common eutils versionator
+inherit elisp-common versionator
DEPEND=">=virtual/emacs-${NEED_EMACS:-21}"
RDEPEND=">=virtual/emacs-${NEED_EMACS:-21}"
@@ -64,23 +64,8 @@ elisp_src_unpack() {
if [ -f ${P}.el ]; then
mv ${P}.el ${PN}.el || die
fi
-
- # for backwards compatibility
- case "${EAPI:-0}" in
- 0|1) elisp_src_prepare ;;
- esac
-}
-
-elisp_src_prepare() {
- local p
- [ -d "${S}" ] && cd "${S}"
- for p in ${PATCHES}; do
- epatch ${p}
- done
}
-elisp_src_configure() { :; }
-
elisp_src_compile() {
elisp-compile *.el || die
}
@@ -103,11 +88,6 @@ elisp_pkg_postrm() {
elisp-site-regen
}
-case "${EAPI:-0}" in
- 0|1) EXPORT_FUNCTIONS \
- src_unpack src_compile src_install \
- pkg_setup pkg_postinst pkg_postrm ;;
- *) EXPORT_FUNCTIONS \
- src_unpack src_prepare src_configure src_compile src_install \
- pkg_setup pkg_postinst pkg_postrm ;;
-esac
+EXPORT_FUNCTIONS \
+ src_unpack src_compile src_install \
+ pkg_setup pkg_postinst pkg_postrm