summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc-mips64/Manifest4
-rw-r--r--sys-devel/gcc-sparc64/ChangeLog7
-rw-r--r--sys-devel/gcc-sparc64/Manifest16
-rw-r--r--sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild21
-rw-r--r--sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild21
5 files changed, 41 insertions, 28 deletions
diff --git a/sys-devel/gcc-mips64/Manifest b/sys-devel/gcc-mips64/Manifest
index 79cdca9615a5..5a77a393785d 100644
--- a/sys-devel/gcc-mips64/Manifest
+++ b/sys-devel/gcc-mips64/Manifest
@@ -1,4 +1,4 @@
-MD5 a11b6eb55349d1f0889e35cbee226817 ChangeLog 2906
+MD5 8c917397140708ffa7a7ebc1850fa8a7 ChangeLog 3089
MD5 2ca380cbcf0547fb5d2a671c1c0296de files/digest-gcc-mips64-3.4.3-r1 64
MD5 4b8b4306f268900392bbd0319bdfdf65 files/digest-gcc-mips64-3.4.4 64
MD5 e411938ca2908079a2359fed5cb3b442 files/gcc-3.3.4-gentoo-branding.patch 874
@@ -6,5 +6,5 @@ MD5 1134e9dabbd6dfba1d91015851f02a2b files/gcc-3.4.2-mips-ip28_cache_barriers-v2
MD5 f3a1b668077c6486c542dcef1cdd9672 files/gcc-3.4.2-mips-ip28_cache_barriers.patch 12545
MD5 b2922cfe76692e7d2b373a0a255f405e files/gcc-3.4.x-mips-add-march-r10k.patch 14248
MD5 e4b8145c02cf6a3eaa55f97f715d9677 gcc-mips64-3.4.3-r1.ebuild 3578
-MD5 3a64be2614c445cb7fb807a2b4d97b7f gcc-mips64-3.4.4.ebuild 3651
+MD5 1adc04d84f41f51b56814894bbf553f9 gcc-mips64-3.4.4.ebuild 3864
MD5 efda60760635b5f29e31a8f730a73086 metadata.xml 364
diff --git a/sys-devel/gcc-sparc64/ChangeLog b/sys-devel/gcc-sparc64/ChangeLog
index 86b2d3153d16..f57c0df9c673 100644
--- a/sys-devel/gcc-sparc64/ChangeLog
+++ b/sys-devel/gcc-sparc64/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-devel/gcc-sparc64
# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.26 2005/12/13 14:01:19 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.27 2005/12/25 06:19:19 kumba Exp $
+
+ 25 Dec 2005; Joshua Kinard <kumba@gentoo.org> gcc-sparc64-3.4.4.ebuild,
+ gcc-sparc64-3.4.5.ebuild:
+ Allow gcc-sparc64 to detect whether it's in a glibc or uclibc userland, and
+ modify its CHOST accordingly.
*gcc-sparc64-3.4.5 (13 Dec 2005)
diff --git a/sys-devel/gcc-sparc64/Manifest b/sys-devel/gcc-sparc64/Manifest
index c6bf7443da7f..a91dc1094046 100644
--- a/sys-devel/gcc-sparc64/Manifest
+++ b/sys-devel/gcc-sparc64/Manifest
@@ -1,7 +1,4 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 b3464183c41adaf61f02c40c9a820363 ChangeLog 4900
+MD5 8f4bab6b966ac860ffa391139d863da0 ChangeLog 5110
MD5 595fc5d3e417d76d1f7e7f0a8439535a files/digest-gcc-sparc64-3.3.5 64
MD5 79ef0db9c6e9750aa92334dded832283 files/digest-gcc-sparc64-3.3.6 64
MD5 4b8b4306f268900392bbd0319bdfdf65 files/digest-gcc-sparc64-3.4.4 64
@@ -10,13 +7,6 @@ MD5 5f8835c8de8d96466954796d2512a29b files/gcc-3.3.5-gentoo-branding.patch 874
MD5 bffc563ab83f8025f3e477286ece2e65 files/gcc-3.3.6-gentoo-branding.patch 874
MD5 374d4b109ffdf8a453c1400cd4ae92bb gcc-sparc64-3.3.5.ebuild 3001
MD5 e6840b2edd483d96b07baa56e313af4c gcc-sparc64-3.3.6.ebuild 3002
-MD5 59debd5a0e1859a4413b867600761f2c gcc-sparc64-3.4.4.ebuild 3152
-MD5 643a1245b87190b6127fdf5e8163c8eb gcc-sparc64-3.4.5.ebuild 3154
+MD5 2da2af68aef4c69ac4b89c7e3204f227 gcc-sparc64-3.4.4.ebuild 3336
+MD5 188fb1a63ba16337863b674c156159de gcc-sparc64-3.4.5.ebuild 3338
MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
-
-iD8DBQFDntSFKRy60XGEcJIRAlEeAJ0V6/8MG+zYu9FN55aJvBRe+578AwCgn4zB
-QI4a99MxfL9tq6zCdE+l/TM=
-=FXev
------END PGP SIGNATURE-----
diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild
index 23d856758f52..73fb5d3f3af0 100644
--- a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild
+++ b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.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/gcc-sparc64/gcc-sparc64-3.4.4.ebuild,v 1.1 2005/08/23 20:25:32 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild,v 1.2 2005/12/25 06:19:19 kumba Exp $
inherit eutils flag-o-matic
@@ -41,6 +41,15 @@ gcc_version_patch() {
sed -i -e 's~http:\/\/gcc\.gnu\.org\/bugs\.html~http:\/\/bugs\.gentoo\.org\/~' ${S}/gcc/version.c || die "failed to update bugzilla URL"
}
+pkg_setup() {
+ # glibc or uclibc?
+ if use elibc_glibc; then
+ MYUSERLAND="gnu"
+ elif use elibc_uclibc; then
+ MYUSERLAND="uclibc"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${WORKDIR}
@@ -68,14 +77,14 @@ src_compile() {
einfo "Configuring GCC..."
if [ "`uname -m | grep 64`" ]; then
- myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-gnu"
+ myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-${MYUSERLAND}"
fi
addwrite "/dev/zero"
${S}/configure --prefix=${I} \
--disable-shared \
--disable-multilib \
- --target=${MYARCH}-unknown-linux-gnu \
+ --target=${MYARCH}-unknown-linux-${MYUSERLAND} \
--enable-languages=c \
--enable-threads=single \
${myconf} || die
@@ -105,15 +114,15 @@ src_install() {
install || die
cd ${D}${I}/bin
- ln -s ${MYARCH}-unknown-linux-gnu-gcc gcc64
- ln -s ${MYARCH}-unknown-linux-gnu-gcc ${MYARCH}-linux-gcc
+ ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc gcc64
+ ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc ${MYARCH}-linux-gcc
}
pkg_postinst() {
einfo
einfo "To facilitate an easier kernel build, you may wish to add the following line to your profile:"
einfo
- einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-gnu-\""
+ einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-${MYUSERLAND}-\""
einfo
einfo "Then to compile a kernel, simply goto the kernel source directory, and issue:"
einfo "${MYARCH}make <target>"
diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild
index 8e9eaf4b0001..c3a087d1c89a 100644
--- a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild
+++ b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.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/gcc-sparc64/gcc-sparc64-3.4.5.ebuild,v 1.1 2005/12/13 14:01:19 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild,v 1.2 2005/12/25 06:19:19 kumba Exp $
inherit eutils flag-o-matic
@@ -40,6 +40,15 @@ gcc_version_patch() {
sed -i -e 's~http:\/\/gcc\.gnu\.org\/bugs\.html~http:\/\/bugs\.gentoo\.org\/~' ${S}/gcc/version.c || die "failed to update bugzilla URL"
}
+pkg_setup() {
+ # glibc or uclibc?
+ if use elibc_glibc; then
+ MYUSERLAND="gnu"
+ elif use elibc_uclibc; then
+ MYUSERLAND="uclibc"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd ${WORKDIR}
@@ -67,14 +76,14 @@ src_compile() {
einfo "Configuring GCC..."
if [ "`uname -m | grep 64`" ]; then
- myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-gnu"
+ myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-${MYUSERLAND}"
fi
addwrite "/dev/zero"
${S}/configure --prefix=${I} \
--disable-shared \
--disable-multilib \
- --target=${MYARCH}-unknown-linux-gnu \
+ --target=${MYARCH}-unknown-linux-${MYUSERLAND} \
--enable-languages=c \
--enable-threads=single \
${myconf} || die
@@ -104,15 +113,15 @@ src_install() {
install || die
cd ${D}${I}/bin
- ln -s ${MYARCH}-unknown-linux-gnu-gcc gcc64
- ln -s ${MYARCH}-unknown-linux-gnu-gcc ${MYARCH}-linux-gcc
+ ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc gcc64
+ ln -s ${MYARCH}-unknown-linux-${MYUSERLAND}-gcc ${MYARCH}-linux-gcc
}
pkg_postinst() {
einfo
einfo "To facilitate an easier kernel build, you may wish to add the following line to your profile:"
einfo
- einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-gnu-\""
+ einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-${MYUSERLAND}-\""
einfo
einfo "Then to compile a kernel, simply goto the kernel source directory, and issue:"
einfo "${MYARCH}make <target>"