summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-14 04:13:36 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-14 04:13:36 +0000
commitcb8b31a5eb67eabd3ad5c8ee5ac41d0047750f59 (patch)
tree2b1943e37c193f6523b51a836980998aef460f45 /sys-devel
parent[dev-db/mysql-5.5.14] Don't use live version of mysql_extras. (diff)
downloadgentoo-2-cb8b31a5eb67eabd3ad5c8ee5ac41d0047750f59.tar.gz
gentoo-2-cb8b31a5eb67eabd3ad5c8ee5ac41d0047750f59.tar.bz2
gentoo-2-cb8b31a5eb67eabd3ad5c8ee5ac41d0047750f59.zip
Encode the git version into crossdev so the log output is useful.
(Portage version: 2.2.0_alpha45/cvs/Linux x86_64)
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/crossdev/ChangeLog5
-rw-r--r--sys-devel/crossdev/crossdev-99999999.ebuild5
2 files changed, 8 insertions, 2 deletions
diff --git a/sys-devel/crossdev/ChangeLog b/sys-devel/crossdev/ChangeLog
index 4a16595d7270..78d99888881c 100644
--- a/sys-devel/crossdev/ChangeLog
+++ b/sys-devel/crossdev/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-devel/crossdev
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.78 2011/07/05 06:49:04 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.79 2011/07/14 04:13:36 vapier Exp $
+
+ 14 Jul 2011; Mike Frysinger <vapier@gentoo.org> crossdev-99999999.ebuild:
+ Encode the git version into crossdev so the log output is useful.
*crossdev-20110705 (05 Jul 2011)
diff --git a/sys-devel/crossdev/crossdev-99999999.ebuild b/sys-devel/crossdev/crossdev-99999999.ebuild
index 506332a6bb14..373cdcb035b0 100644
--- a/sys-devel/crossdev/crossdev-99999999.ebuild
+++ b/sys-devel/crossdev/crossdev-99999999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-99999999.ebuild,v 1.4 2011/07/05 06:48:09 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-99999999.ebuild,v 1.5 2011/07/14 04:13:36 vapier Exp $
EAPI="3"
@@ -29,4 +29,7 @@ DEPEND="app-arch/xz-utils"
src_install() {
emake install DESTDIR="${D}" || die
+ if [[ "${PV}" == "99999999" ]] ; then
+ dosed "s:@CDEVPV@:${EGIT_VERSION}:" /usr/bin/crossdev || die
+ fi
}