summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-02-25 08:57:50 +0000
committerUlrich Müller <ulm@gentoo.org>2009-02-25 08:57:50 +0000
commit387cc24f281e669d61e971862c48c6ccc4712189 (patch)
tree00892d3531313fa0785a3d2f5630f1f3296e56ae /app-emacs/emacs-daemon
parentbump to hugin-0.8.0_beta1 (diff)
downloadgentoo-2-387cc24f281e669d61e971862c48c6ccc4712189.tar.gz
gentoo-2-387cc24f281e669d61e971862c48c6ccc4712189.tar.bz2
gentoo-2-387cc24f281e669d61e971862c48c6ccc4712189.zip
Remove check for daemon option in pkg_setup, use NEED_EMACS=23 instead.
(Portage version: 2.2_rc23/cvs/Linux i686)
Diffstat (limited to 'app-emacs/emacs-daemon')
-rw-r--r--app-emacs/emacs-daemon/ChangeLog5
-rw-r--r--app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild18
2 files changed, 8 insertions, 15 deletions
diff --git a/app-emacs/emacs-daemon/ChangeLog b/app-emacs/emacs-daemon/ChangeLog
index c0ff25df988d..6db564a404a0 100644
--- a/app-emacs/emacs-daemon/ChangeLog
+++ b/app-emacs/emacs-daemon/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-emacs/emacs-daemon
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.7 2009/02/23 15:31:38 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/ChangeLog,v 1.8 2009/02/25 08:57:50 ulm Exp $
+
+ 25 Feb 2009; Ulrich Mueller <ulm@gentoo.org> emacs-daemon-0.13.ebuild:
+ Remove check for daemon option in pkg_setup, use NEED_EMACS=23 instead.
*emacs-daemon-0.13 (23 Feb 2009)
diff --git a/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild b/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild
index 8cad3cb4b2e0..5b67aebf258e 100644
--- a/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild
+++ b/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild
@@ -1,6 +1,8 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild,v 1.1 2009/02/23 15:31:38 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/emacs-daemon/emacs-daemon-0.13.ebuild,v 1.2 2009/02/25 08:57:50 ulm Exp $
+
+NEED_EMACS=23
inherit elisp
@@ -13,22 +15,10 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND=">=virtual/emacs-23"
-RDEPEND="${DEPEND}
- >=sys-apps/openrc-0.4"
+RDEPEND=">=sys-apps/openrc-0.4"
SITEFILE="10${PN}-gentoo.el"
-pkg_setup() {
- local has_daemon=$(${EMACS} ${EMACSFLAGS} \
- --eval "(princ (fboundp 'daemonp))")
- if [ "${has_daemon}" != t ]; then
- ewarn "Your current Emacs version does not support running as a daemon"
- ewarn "which is required for ${CATEGORY}/${PN}."
- ewarn "Use \"eselect emacs\" to select an Emacs version >= 23."
- fi
-}
-
src_compile() { :; }
src_install() {