summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-08 23:39:39 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-08 23:39:39 +0000
commit9c9b2462ed9b4d740a49d8603ef03cca52c500dd (patch)
treed6bd039fac46a7988fadfb96bb1742a29719dfe1
parentAdded a mask for >=splashutils-1.1 (diff)
downloadhistorical-9c9b2462ed9b4d740a49d8603ef03cca52c500dd.tar.gz
historical-9c9b2462ed9b4d740a49d8603ef03cca52c500dd.tar.bz2
historical-9c9b2462ed9b4d740a49d8603ef03cca52c500dd.zip
add --version and `emerge info`
Package-Manager: portage-2.0.51.19
-rw-r--r--sys-devel/crossdev/Manifest4
-rw-r--r--sys-devel/crossdev/crossdev-0.9-r3.ebuild3
-rwxr-xr-xsys-devel/crossdev/files/crossdev6
3 files changed, 9 insertions, 4 deletions
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 38709d60eb5b..cc4fae218454 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,8 +1,8 @@
MD5 12990560a6484b2ff0bd7f95747a097e ChangeLog 1914
MD5 e91cdaf464f515f3528da02cf06e54a1 metadata.xml 222
-MD5 0d8d0372e191a7917c42816c578b3a27 crossdev-0.9-r3.ebuild 512
+MD5 88f647e8bcb734cfdfaa76f50baf27d1 crossdev-0.9-r3.ebuild 557
MD5 5bebfeed684c75c8f16a488d34cb6d7b crossdev-0.4-r1.ebuild 1216
MD5 bbb032e270728ffb39276e95e5653b62 files/crossdev-0.4-fixes-one.patch 1675
MD5 e797084ae210cc0ff10ba4185eefb5e7 files/digest-crossdev-0.4-r1 64
MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9-r3 0
-MD5 346b657dd16edf2d7d6a5c9fbadb644e files/crossdev 6445
+MD5 ed2d70594978354663e5f8265464d59e files/crossdev 6619
diff --git a/sys-devel/crossdev/crossdev-0.9-r3.ebuild b/sys-devel/crossdev/crossdev-0.9-r3.ebuild
index c37c0b82c5ee..c0f8c4416ca4 100644
--- a/sys-devel/crossdev/crossdev-0.9-r3.ebuild
+++ b/sys-devel/crossdev/crossdev-0.9-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9-r3.ebuild,v 1.1 2005/03/04 18:59:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9-r3.ebuild,v 1.2 2005/03/08 23:39:39 vapier Exp $
DESCRIPTION="Gentoo Cross-toolchain generator"
HOMEPAGE="http://www.gentoo.org/"
@@ -17,4 +17,5 @@ RDEPEND="sys-apps/portage
src_install() {
dobin "${FILESDIR}"/crossdev || die
+ dosed ":GENTOO_PV:${PV}:" /usr/bin/crossdev
}
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index fc9873d20491..100f45a9c5dc 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.5 2005/03/04 18:59:23 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.6 2005/03/08 23:39:39 vapier Exp $
source /sbin/functions.sh || exit 1
die() {
@@ -25,6 +25,8 @@ ${GOOD}Options${NORMAL}:
${GOOD}--l, --libc${NORMAL} ver Specify version of libc to use
${GOOD}-a, -b, -p, -v${NORMAL} Options to pass to emerge (see emerge(1))
+ ${GOOD}-V, --version${NORMAL} Show crossdev version
+
${GOOD}-s1, --stage1${NORMAL} Build a C compiler (no libc/C++)
${GOOD}-s2, --stage2${NORMAL} Build a C compiler & libc (no C++)
${GOOD}-s3, --stage3${NORMAL} Build a C/C++ compiler & libc [default]
@@ -104,6 +106,7 @@ LVER="[latest]"
while [[ $# -gt 0 ]] ; do
case $1 in
+ -V|--version) echo "crossdev-GENTOO_PV"; exit 0;;
-t|--target) shift; parse_target $1;;
--b|--binutils) shift; BVER=-$1;;
--g|--gcc) shift; GVER=-$1;;
@@ -156,6 +159,7 @@ einfo "PKGDIR: ${PKGDIR}"
hr
) >& ${PORT_LOGDIR}/cross-${CTARGET}-info.log
cat ${PORT_LOGDIR}/cross-${CTARGET}-info.log
+emerge info >> ${PORT_LOGDIR}/cross-${CTARGET}-info.log
#################
mkdir -p /etc/portage