summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-03-15 00:00:18 +0000
committerMike Frysinger <vapier@gentoo.org>2006-03-15 00:00:18 +0000
commit7c9ffbd7e03040ae049894fed7a2543f5d2cdc1e (patch)
treebcf49b109fb280b8de37811e2d7f8deb626886bf /sys-devel/crossdev
parentDrop old versions. (diff)
downloadhistorical-7c9ffbd7e03040ae049894fed7a2543f5d2cdc1e.tar.gz
historical-7c9ffbd7e03040ae049894fed7a2543f5d2cdc1e.tar.bz2
historical-7c9ffbd7e03040ae049894fed7a2543f5d2cdc1e.zip
Make sure our binutils/gcc config scripts are up-to-date and not of the broken variety. Also add support for storing USE flags in package.use.
Package-Manager: portage-2.1_pre6-r2
Diffstat (limited to 'sys-devel/crossdev')
-rw-r--r--sys-devel/crossdev/ChangeLog9
-rw-r--r--sys-devel/crossdev/Manifest30
-rw-r--r--sys-devel/crossdev/crossdev-0.9.13.ebuild (renamed from sys-devel/crossdev/crossdev-0.9.12-r1.ebuild)6
-rwxr-xr-xsys-devel/crossdev/files/crossdev37
-rw-r--r--sys-devel/crossdev/files/digest-crossdev-0.9.13 (renamed from sys-devel/crossdev/files/digest-crossdev-0.9.12-r1)0
5 files changed, 49 insertions, 33 deletions
diff --git a/sys-devel/crossdev/ChangeLog b/sys-devel/crossdev/ChangeLog
index bb1e060b8302..df882710fa61 100644
--- a/sys-devel/crossdev/ChangeLog
+++ b/sys-devel/crossdev/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-devel/crossdev
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.30 2006/01/23 22:35:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/ChangeLog,v 1.31 2006/03/15 00:00:18 vapier Exp $
+
+*crossdev-0.9.13 (14 Mar 2006)
+
+ 14 Mar 2006; Mike Frysinger <vapier@gentoo.org> files/crossdev,
+ +crossdev-0.9.13.ebuild:
+ Make sure our binutils/gcc config scripts are up-to-date and not of the
+ broken variety. Also add support for storing USE flags in package.use.
*crossdev-0.9.12-r1 (23 Jan 2006)
diff --git a/sys-devel/crossdev/Manifest b/sys-devel/crossdev/Manifest
index 1953aa253283..61ac76853d05 100644
--- a/sys-devel/crossdev/Manifest
+++ b/sys-devel/crossdev/Manifest
@@ -1,25 +1,25 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 91653dd79dadacee43b15699e93b8195 ChangeLog 6639
-RMD160 4de7358352066483f8a92f53e5f7c64d1653a713 ChangeLog 6639
-SHA256 2d4dfe31d65ea006e8017d6f0946d5b060b674f65faa7facfcec1931111bd15f ChangeLog 6639
-MD5 098ccf85ea58b069a64efcd5627c39e7 crossdev-0.9.12-r1.ebuild 597
-RMD160 517ee3890cace5cc9e2972006740f3f068c61786 crossdev-0.9.12-r1.ebuild 597
-SHA256 e658bb77289c596026bbf9a899a195145205aa6e6e17ff13df1c2b14bce31724 crossdev-0.9.12-r1.ebuild 597
-MD5 0da0bc6bc616b585ee89e3b083a535d7 files/crossdev 16027
-RMD160 8fbbfd27782195ea131131227ed792cc51b8c220 files/crossdev 16027
-SHA256 e973d7a4c7af1a82bea9ce82c76afc93650975a7ac3ca442f0b9bffdc3a492e5 files/crossdev 16027
-MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.12-r1 0
-RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-crossdev-0.9.12-r1 0
-SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-crossdev-0.9.12-r1 0
+MD5 748d79cebc17a301714df8f3e4769e83 ChangeLog 6912
+RMD160 e23da350d18b011059210c8a3590bb459615159a ChangeLog 6912
+SHA256 b76775f693599c6389cacb7e83943c4b5077216e0dafa0666f44b425bbe7b744 ChangeLog 6912
+MD5 a261e324584f12c1a9d4a2b73d6d4954 crossdev-0.9.13.ebuild 648
+RMD160 8b7005d0adefde6b0834410c0bdfab89180891b1 crossdev-0.9.13.ebuild 648
+SHA256 46c07dcaeacb6e00634ec20be3ea119046dff62b706f59ac25a8d3ab64efa7b7 crossdev-0.9.13.ebuild 648
+MD5 a02c360b77267631c8e62b8cd8af1db5 files/crossdev 16190
+RMD160 36d8e0d14326bf24bdfb282e01ad351a5252a4f7 files/crossdev 16190
+SHA256 6760182db7bb1b3ac5962431fe9a25d15b277c38258e20b7239da07dba126f1c files/crossdev 16190
+MD5 d41d8cd98f00b204e9800998ecf8427e files/digest-crossdev-0.9.13 0
+RMD160 9c1185a5c5e9fc54612808977ee8f548b2258d31 files/digest-crossdev-0.9.13 0
+SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855 files/digest-crossdev-0.9.13 0
MD5 e91cdaf464f515f3528da02cf06e54a1 metadata.xml 222
RMD160 0be0385efc240909b533447fe4ce586bf39c52f5 metadata.xml 222
SHA256 c11360fafdb92d96d343530a7f5869494a27c5cc1fec703094b1221632b6163f metadata.xml 222
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
-iD8DBQFEFian2+ySkm8kpY0RAlZKAJwNfOPgraL5DZfDO6YI+Img6hVdBwCfQ3RK
-KSipocmHsewUB/EvwBHWJG0=
-=V6Uh
+iD8DBQFEF1mV2+ySkm8kpY0RAtQfAKDD2u7Kheaxnb/k3BF6HW/LApsi6QCgvFGw
+KClrxzd6+RDmV1eW42doBE0=
+=gxZ5
-----END PGP SIGNATURE-----
diff --git a/sys-devel/crossdev/crossdev-0.9.12-r1.ebuild b/sys-devel/crossdev/crossdev-0.9.13.ebuild
index 5784d1765cc6..8429e22c2cec 100644
--- a/sys-devel/crossdev/crossdev-0.9.12-r1.ebuild
+++ b/sys-devel/crossdev/crossdev-0.9.13.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.12-r1.ebuild,v 1.1 2006/01/23 22:35:22 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/crossdev-0.9.13.ebuild,v 1.1 2006/03/15 00:00:18 vapier Exp $
DESCRIPTION="Gentoo Cross-toolchain generator"
HOMEPAGE="http://www.gentoo.org/"
@@ -11,7 +11,9 @@ SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh sparc x86"
IUSE=""
-RDEPEND="sys-apps/portage
+RDEPEND="!app-admin/eselect-compiler
+ <sys-devel/gcc-config-2
+ sys-apps/portage
app-shells/bash
sys-apps/coreutils"
diff --git a/sys-devel/crossdev/files/crossdev b/sys-devel/crossdev/files/crossdev
index 6d84e9eaef2e..8dd6e5406877 100755
--- a/sys-devel/crossdev/files/crossdev
+++ b/sys-devel/crossdev/files/crossdev
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright 1999-2006 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.52 2006/03/14 02:10:50 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/crossdev/files/crossdev,v 1.53 2006/03/15 00:00:18 vapier Exp $
cd /
@@ -33,7 +33,7 @@ Options:
${GOOD}--k, --kernel${NORMAL} ver Specify version of kernel headers to use
${GOOD}--l, --libc${NORMAL} ver Specify version of libc to use
${GOOD}-C, --clean${NORMAL} target Uninstall specified target
- ${GOOD}-b, -d, -p, -v${NORMAL} Options to pass to emerge (see emerge(1))
+ ${GOOD}-b, -d, -p, -v, -q${NORMAL} Options to pass to emerge (see emerge(1))
Stage Options:
${GOOD}-s0, --stage0${NORMAL} Build just binutils
${GOOD}-s1, --stage1${NORMAL} Also build a C compiler (no libc/C++)
@@ -336,7 +336,7 @@ while [[ $# -gt 0 ]] ; do
--with-*) eval $(set_withval $1);;
--without-*) eval $(set_withval $1);;
-x) SET_X="yes";;
- -b|-d|-p|-v) UOPTS="${UOPTS} $1";;
+ -b|-d|-p|-v|-q) UOPTS="${UOPTS} $1";;
-pv|-vp) UOPTS="${UOPTS} -p -v";;
-h|--help) usage;;
-*) eerror "UNKNOWN OPTION: '$1'" ; usage 1;;
@@ -470,10 +470,10 @@ mkdir -p "${PORTDIR_OVERLAY}"/cross-${CTARGET}
cd /etc/portage
touch package.{keywords,mask,use}
-set_portage ${BCAT} ${BPKG} ${BVER} ${BUSE}
-set_portage ${GCAT} ${GPKG} ${GVER} ${GUSE}
-set_portage ${KCAT} ${KPKG} ${KVER} ${KUSE}
-set_portage ${LCAT} ${LPKG} ${LVER} ${LUSE}
+set_portage ${BCAT} ${BPKG} ${BVER}
+set_portage ${GCAT} ${GPKG} ${GVER}
+set_portage ${KCAT} ${KPKG} ${KVER}
+set_portage ${LCAT} ${LPKG} ${LVER}
set_portage sys-devel gdb
#################
@@ -497,6 +497,8 @@ doemerge() {
einfo "Log: ${logfile}"
ebegin "Emerging cross-${2:-$1}"
+ set_use $1 ${USE}
+
if [[ ${UOPTS/-v} != ${UOPTS} ]] ; then
emerge cross-${CTARGET}/$1 ${EOPTS} \
2>&1 | tee ${logfile}
@@ -517,41 +519,46 @@ EOPTS=${EOPTS_UP}
# make sure multilib crap doesn't screw us over
export ABI=${ABI:-pos} LIBDIR_pos="lib" CFLAGS_pos="" LDFLAGS_pos=""
+# only allow UCLIBC_CPU from env, not from make.conf/profile
+export UCLIBC_CPU=${UCLIBC_CPU}
+
ex_fast || {
ebegin "Forcing the latest versions of binutils-config/gcc-config"
emerge {binutils,gcc}-config -qu --nodeps &> /dev/null
-eend $?
+eend $? || exit 1
doemerge ${BPKG}
is_s1 || exit 0
if with_headers ; then
-USE="${USE} _E_CROSS_HEADERS_ONLY" _E_CROSS_HEADERS_ONLY="yes" \
+USE="${KUSE} ${USE} _E_CROSS_HEADERS_ONLY" \
doemerge ${KPKG} ${KPKG}-quick
-USE="${USE} _E_CROSS_HEADERS_ONLY" _E_CROSS_HEADERS_ONLY="yes" \
+USE="${LUSE} ${USE} _E_CROSS_HEADERS_ONLY" \
doemerge ${LPKG} ${LPKG}-headers
fi
-USE="${USE} ${GUSE_DISABLE} nocxx _E_CROSS_BOOTSTRAP" \
+USE="${GUSE} ${USE} ${GUSE_DISABLE} nocxx _E_CROSS_BOOTSTRAP" \
doemerge ${GPKG} ${GPKG}-stage1
is_s2 || exit 0
set_eopts_on_pkg_status ${KPKG} _E_CROSS_HEADERS_ONLY
-doemerge ${KPKG}
+USE="${KUSE} ${USE} -_E_CROSS_HEADERS_ONLY" \
+ doemerge ${KPKG}
is_s3 || exit 0
set_eopts_on_pkg_status ${LPKG} _E_CROSS_HEADERS_ONLY
-USE="${USE} $TARCH" doemerge ${LPKG}
+USE="${LUSE} ${USE} -_E_CROSS_HEADERS_ONLY" \
+ doemerge ${LPKG}
is_s4 || exit 0
set_eopts_on_pkg_status ${GPKG} _E_CROSS_BOOTSTRAP
-USE="${USE} ${GUSE_DISABLE}" \
+USE="${GUSE} ${USE} ${GUSE_DISABLE}" \
doemerge ${GPKG} ${GPKG}-stage2
}
EOPTS=${EOPTS_UP}
-ex_gcc && doemerge ${GPKG} ${GPKG}-extra
+ex_gcc && USE="${GUSE} ${USE}" doemerge ${GPKG} ${GPKG}-extra
ex_gdb && doemerge gdb
exit 0
diff --git a/sys-devel/crossdev/files/digest-crossdev-0.9.12-r1 b/sys-devel/crossdev/files/digest-crossdev-0.9.13
index e69de29bb2d1..e69de29bb2d1 100644
--- a/sys-devel/crossdev/files/digest-crossdev-0.9.12-r1
+++ b/sys-devel/crossdev/files/digest-crossdev-0.9.13