summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2007-06-30 08:31:21 +0000
committerUlrich Müller <ulm@gentoo.org>2007-06-30 08:31:21 +0000
commit0a29e8e9bb19854ec301dcb429bc7ee6e4d0851e (patch)
tree24dee6514b2f42feb7a581001b50f0621b7c6a23 /app-office/magicpoint
parentRemove myself from metadata.xml as I don't have this hardware anymore. (diff)
downloadgentoo-2-0a29e8e9bb19854ec301dcb429bc7ee6e4d0851e.tar.gz
gentoo-2-0a29e8e9bb19854ec301dcb429bc7ee6e4d0851e.tar.bz2
gentoo-2-0a29e8e9bb19854ec301dcb429bc7ee6e4d0851e.zip
Fix conditional for calling elisp-site-regen, bug #182639.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'app-office/magicpoint')
-rw-r--r--app-office/magicpoint/ChangeLog5
-rw-r--r--app-office/magicpoint/magicpoint-1.11b.ebuild14
2 files changed, 7 insertions, 12 deletions
diff --git a/app-office/magicpoint/ChangeLog b/app-office/magicpoint/ChangeLog
index 1427fb66458e..09d0c27a63c8 100644
--- a/app-office/magicpoint/ChangeLog
+++ b/app-office/magicpoint/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-office/magicpoint
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.22 2007/01/25 05:23:00 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/ChangeLog,v 1.23 2007/06/30 08:31:21 ulm Exp $
+
+ 30 Jun 2007; Ulrich Mueller <ulm@gentoo.org> magicpoint-1.11b.ebuild:
+ Fix conditional for calling elisp-site-regen, bug #182639.
25 Jan 2007; Marius Mauch <genone@gentoo.org> magicpoint-1.11b.ebuild:
Replacing einfo with elog
diff --git a/app-office/magicpoint/magicpoint-1.11b.ebuild b/app-office/magicpoint/magicpoint-1.11b.ebuild
index 8e21338630c3..f576285dedb2 100644
--- a/app-office/magicpoint/magicpoint-1.11b.ebuild
+++ b/app-office/magicpoint/magicpoint-1.11b.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.11b.ebuild,v 1.13 2007/01/25 05:23:00 genone Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/magicpoint/magicpoint-1.11b.ebuild,v 1.14 2007/06/30 08:31:21 ulm Exp $
inherit elisp-common eutils fixheadtails
@@ -43,14 +43,6 @@ RDEPEND="${MY_DEPEND}
SITELISP=/usr/share/emacs/site-lisp
SITEFILE=50mgp-mode-gentoo.el
-has_emacs() {
- if has_version 'virtual/emacs' ; then
- true
- else
- false
- fi
-}
-
src_unpack() {
unpack ${A}
cd ${S}
@@ -116,7 +108,7 @@ src_install() {
}
pkg_postinst() {
- has_emacs && elisp-site-regen
+ use emacs && elisp-site-regen
elog
elog "If you enabled xft2 support (default) you may specify xfont directive by"
elog "font name and font registry."
@@ -126,5 +118,5 @@ pkg_postinst() {
}
pkg_postrm() {
- has_emacs && elisp-site-regen
+ use emacs && elisp-site-regen
}