summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2010-05-18 08:41:19 +0000
committerUlrich Müller <ulm@gentoo.org>2010-05-18 08:41:19 +0000
commit38aa8f0e64e76f579fd5f0c6f26ce47a85ed51a6 (patch)
tree310dc57f82620a22e452f0c590bd619c7011d769 /app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
parentamd64 stable wrt #305521 (diff)
downloadgentoo-2-38aa8f0e64e76f579fd5f0c6f26ce47a85ed51a6.tar.gz
gentoo-2-38aa8f0e64e76f579fd5f0c6f26ce47a85ed51a6.tar.bz2
gentoo-2-38aa8f0e64e76f579fd5f0c6f26ce47a85ed51a6.zip
Version information is now in src/emacs.c.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild')
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
index 3c6e92f57b2b..5054c5fd0fdd 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.5 2010/05/08 08:31:19 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.0.9999.ebuild,v 1.6 2010/05/18 08:41:19 ulm Exp $
EAPI=2
@@ -87,7 +87,7 @@ pkg_setup() {
src_prepare() {
if [ "${PV##*.}" = "9999" ]; then
- FULL_VERSION=$(grep 'defconst[ ]*emacs-version' lisp/version.el \
+ FULL_VERSION=$(grep 'const char emacs_version' src/emacs.c \
| sed -e 's/^[^"]*"\([^"]*\)".*$/\1/')
[ "${FULL_VERSION}" ] || die "Cannot determine current Emacs version"
echo