summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Faulhammer <fauli@gentoo.org>2007-01-05 14:22:36 +0000
committerChristian Faulhammer <fauli@gentoo.org>2007-01-05 14:22:36 +0000
commit826c86d3076dc1c63b855277a950883b430d2cd5 (patch)
tree5a02974130780cb9a3b004431d90c256103f9b3a /app-editors/emacs/emacs-21.4-r5.ebuild
parentamd64 stable, security bug 159178 (diff)
downloadhistorical-826c86d3076dc1c63b855277a950883b430d2cd5.tar.gz
historical-826c86d3076dc1c63b855277a950883b430d2cd5.tar.bz2
historical-826c86d3076dc1c63b855277a950883b430d2cd5.zip
correctly use aspell when having it installed
Package-Manager: portage-2.1.1-r2
Diffstat (limited to 'app-editors/emacs/emacs-21.4-r5.ebuild')
-rw-r--r--app-editors/emacs/emacs-21.4-r5.ebuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/app-editors/emacs/emacs-21.4-r5.ebuild b/app-editors/emacs/emacs-21.4-r5.ebuild
index 20b0f17c7329..2048ea3e0caf 100644
--- a/app-editors/emacs/emacs-21.4-r5.ebuild
+++ b/app-editors/emacs/emacs-21.4-r5.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r5.ebuild,v 1.5 2006/11/26 11:26:01 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs/emacs-21.4-r5.ebuild,v 1.6 2007/01/05 14:22:36 opfer Exp $
inherit flag-o-matic eutils alternatives toolchain-funcs
@@ -134,6 +134,11 @@ src_install() {
mv ${T}/emacs-${SLOT} ${D}/usr/share/info
mv ${T}/dir ${D}/usr/share/info/emacs-${SLOT}
+ if has_version 'app-text/aspell' ; then
+ # defaults to aspell if installed
+ elisp-site-file-install ${FILESDIR}/40aspell-gentoo.el
+ fi
+
newenvd ${FILESDIR}/60emacs-${SLOT}.envd 60emacs-${SLOT}
einfo "Fixing manpages..."