summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2012-06-24 15:13:05 +0000
committerUlrich Müller <ulm@gentoo.org>2012-06-24 15:13:05 +0000
commit8e5b594da50a52bfb271db3b683aa708bad88428 (patch)
treec4584a4c9f57f338ad3db63afd37331759944d0c /app-editors/emacs-vcs
parentStore version information in system-configuration-options variable. (diff)
downloadgentoo-2-8e5b594da50a52bfb271db3b683aa708bad88428.tar.gz
gentoo-2-8e5b594da50a52bfb271db3b683aa708bad88428.tar.bz2
gentoo-2-8e5b594da50a52bfb271db3b683aa708bad88428.zip
Store version information in system-configuration-options variable.
(Portage version: 2.1.11.1/cvs/Linux x86_64)
Diffstat (limited to 'app-editors/emacs-vcs')
-rw-r--r--app-editors/emacs-vcs/ChangeLog5
-rw-r--r--app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild10
2 files changed, 8 insertions, 7 deletions
diff --git a/app-editors/emacs-vcs/ChangeLog b/app-editors/emacs-vcs/ChangeLog
index ee12ec7acdcd..979f460bebd4 100644
--- a/app-editors/emacs-vcs/ChangeLog
+++ b/app-editors/emacs-vcs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-editors/emacs-vcs
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.102 2012/06/10 18:34:48 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/ChangeLog,v 1.103 2012/06/24 15:13:05 ulm Exp $
+
+ 24 Jun 2012; Ulrich Müller <ulm@gentoo.org> emacs-vcs-24.1.9999-r1.ebuild:
+ Store version information in system-configuration-options variable.
10 Jun 2012; Ulrich Müller <ulm@gentoo.org> emacs-vcs-24.1.9999-r1.ebuild:
Game score files moved to app-emacs/emacs-common-gentoo. Configure doesn't
diff --git a/app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild b/app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild
index 6b2a602813c8..7b48e2d6e88e 100644
--- a/app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild
+++ b/app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 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.1.9999-r1.ebuild,v 1.5 2012/06/10 18:34:48 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/emacs-vcs/emacs-vcs-24.1.9999-r1.ebuild,v 1.6 2012/06/24 15:13:05 ulm Exp $
EAPI=4
@@ -191,10 +191,10 @@ src_configure() {
myconf="${myconf} --without-x --without-ns"
fi
+ # Save version information in the Emacs binary. It will be available
+ # in variable "system-configuration-options".
+ myconf="${myconf} GENTOO_PACKAGE=${CATEGORY}/${PF}"
if [[ ${PV##*.} = 9999 ]]; then
- # These variables are not needed for building. We add them to
- # configure options because they are stored in the Emacs binary
- # and available in variable "system-configuration-options".
myconf="${myconf} EBZR_BRANCH=${EBZR_BRANCH} EBZR_REVNO=${EBZR_REVNO}"
fi
@@ -230,8 +230,6 @@ src_compile() {
# cleanup, otherwise emacs will be dumped again in src_install
(cd src; emake versionclean)
fi
- # set last component of emacs-version to (package revision + 1)
- touch src/emacs-${FULL_VERSION}.${PR#r}
emake CC="$(tc-getCC)"
}