summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-devel/crossdev/ChangeLog8
-rw-r--r--sys-devel/crossdev/crossdev-0.9.5-r1.ebuild21
-rwxr-xr-xsys-devel/crossdev/files/crossdev13
-rw-r--r--sys-devel/crossdev/files/digest-crossdev-0.9.5-r10
4 files changed, 38 insertions, 4 deletions
diff --git a/sys-devel/crossdev/ChangeLog b/sys-devel/crossdev/ChangeLog
index 0d4cf1398ed1..9f459fe3da27 100644
--- a/sys-devel/crossdev/ChangeLog
+++ b/sys-devel/crossdev/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/crossdev
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.14 2005/03/16 23:26:34 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.15 2005/03/25 13:33:58 vapier Exp $
+
+*crossdev-0.9.5-r1 (25 Mar 2005)
+
+ 25 Mar 2005; Mike Frysinger <vapier@gentoo.org> files/crossdev,
+ +crossdev-0.9.5-r1.ebuild:
+ Make sure PORTDIR_OVERLAY is set #86641.
*crossdev-0.9.5 (16 Mar 2005)
diff --git a/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild b/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild
new file mode 100644
index 000000000000..262f94bd7efe
--- /dev/null
+++ b/sys-devel/crossdev/crossdev-0.9.5-r1.ebuild
@@ -0,0 +1,21 @@
+# 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.5-r1.ebuild,v 1.1 2005/03/25 13:33:58 vapier Exp $
+
+DESCRIPTION="Gentoo Cross-toolchain generator"
+HOMEPAGE="http://www.gentoo.org/"
+SRC_URI=""
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~ppc ~sparc ~x86"
+IUSE=""
+
+RDEPEND="sys-apps/portage
+ app-shells/bash
+ sys-apps/coreutils"
+
+src_install() {
+ dosbin "${FILESDIR}"/crossdev || die
+ dosed "s:GENTOO_PV:${PV}:" /usr/sbin/crossdev
+}
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index ba54d8b60289..a3cc9a0057e0 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.14 2005/03/21 04:50:55 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.15 2005/03/25 13:33:58 vapier Exp $
if [[ ${ROOT:-/} != "/" ]] ; then
echo "Sorry, but crossdev does not support ROOT."
@@ -198,15 +198,22 @@ if [[ -z $(portageq best_version / binutils-config) ]] ; then
exit 1
fi
if [[ -z $(egrep 'inherit.*toolchain( |$)' /var/db/pkg/sys-devel/gcc-*/*.ebuild) ]] ; then
- eerror "Sorry, but your host system needs to have "
+ eerror "Sorry, but your host system needs to have"
eerror "an unstable version of gcc in order to"
eerror "keep from screwing things up."
exit 1
fi
+setup_portage_vars
+if [[ -z ${PORTDIR_OVERLAY} ]] ; then
+ eerror "You need to set PORTDIR_OVERLAY in your"
+ eerror "make.conf. A standard setting is"
+ eerror "/usr/local/portage"
+ exit 1
+fi
+
#####################
### do the emerge ###
-setup_portage_vars
(
hr -
einfo "Host Portage ARCH: ${HARCH}"
diff --git a/sys-devel/crossdev/files/digest-crossdev-0.9.5-r1 b/sys-devel/crossdev/files/digest-crossdev-0.9.5-r1
new file mode 100644
index 000000000000..e69de29bb2d1
--- /dev/null
+++ b/sys-devel/crossdev/files/digest-crossdev-0.9.5-r1