summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-emacs/calc')
-rw-r--r--app-emacs/calc/ChangeLog7
-rw-r--r--app-emacs/calc/calc-2.02f.ebuild14
2 files changed, 9 insertions, 12 deletions
diff --git a/app-emacs/calc/ChangeLog b/app-emacs/calc/ChangeLog
index d70e7b9e9f60..4585ab4ade57 100644
--- a/app-emacs/calc/ChangeLog
+++ b/app-emacs/calc/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emacs/calc
-# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/calc/ChangeLog,v 1.6 2007/12/01 01:02:34 ulm Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/calc/ChangeLog,v 1.7 2009/03/29 21:16:30 ulm Exp $
+
+ 29 Mar 2009; Ulrich Mueller <ulm@gentoo.org> calc-2.02f.ebuild:
+ Use autopatch feature of elisp.eclass.
30 Nov 2007; Ulrich Mueller <ulm@gentoo.org> calc-2.02f.ebuild:
Move message to pkg_setup, so that it is also seen if build fails.
diff --git a/app-emacs/calc/calc-2.02f.ebuild b/app-emacs/calc/calc-2.02f.ebuild
index 336708f04569..c6d4ccde9b69 100644
--- a/app-emacs/calc/calc-2.02f.ebuild
+++ b/app-emacs/calc/calc-2.02f.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/calc/calc-2.02f.ebuild,v 1.6 2007/12/01 01:02:34 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/calc/calc-2.02f.ebuild,v 1.7 2009/03/29 21:16:30 ulm Exp $
-inherit elisp eutils versionator
+inherit elisp versionator
DESCRIPTION="Advanced calculator and mathematical tool within Emacs"
HOMEPAGE="http://www.gnu.org/software/emacs/calc.html"
@@ -13,6 +13,7 @@ SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""
+ELISP_PATCHES="${P}-emacs-21.patch ${P}-info-dir.patch"
SITEFILE="50calc-gentoo.el"
pkg_setup() {
@@ -24,13 +25,6 @@ pkg_setup() {
fi
}
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}/${P}-emacs-21.patch"
- epatch "${FILESDIR}/${P}-info-dir.patch"
-}
-
src_compile() {
emake compile info || die "emake failed"
}