summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavoz@gentoo.org>2006-08-11 14:45:35 +0000
committerGustavo Zacarias <gustavoz@gentoo.org>2006-08-11 14:45:35 +0000
commit511b2f09b016d5c376e3a926ffcac16aa71343a4 (patch)
treee536ee02338dee14cbf702d19017465af6cc3141 /sys-devel/gcc-sparc64
parentAdded a check for clearsilver being built with USE=python. Resolves bug #143572. (diff)
downloadhistorical-511b2f09b016d5c376e3a926ffcac16aa71343a4.tar.gz
historical-511b2f09b016d5c376e3a926ffcac16aa71343a4.tar.bz2
historical-511b2f09b016d5c376e3a926ffcac16aa71343a4.zip
Adding 4.0.3 for testing purposes
Package-Manager: portage-2.1-r2
Diffstat (limited to 'sys-devel/gcc-sparc64')
-rw-r--r--sys-devel/gcc-sparc64/ChangeLog8
-rw-r--r--sys-devel/gcc-sparc64/Manifest22
-rw-r--r--sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.0.33
-rw-r--r--sys-devel/gcc-sparc64/gcc-sparc64-4.0.3.ebuild137
4 files changed, 162 insertions, 8 deletions
diff --git a/sys-devel/gcc-sparc64/ChangeLog b/sys-devel/gcc-sparc64/ChangeLog
index bdad9dc7eae8..6cf5f2af9abc 100644
--- a/sys-devel/gcc-sparc64/ChangeLog
+++ b/sys-devel/gcc-sparc64/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for sys-devel/gcc-sparc64
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.35 2006/08/02 14:37:07 gustavoz Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.36 2006/08/11 14:45:35 gustavoz Exp $
+
+*gcc-sparc64-4.0.3 (11 Aug 2006)
+
+ 11 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
+ +gcc-sparc64-4.0.3.ebuild:
+ Adding 4.0.3 for testing purposes
02 Aug 2006; Gustavo Zacarias <gustavoz@gentoo.org>
gcc-sparc64-3.3.5.ebuild, gcc-sparc64-3.3.6.ebuild,
diff --git a/sys-devel/gcc-sparc64/Manifest b/sys-devel/gcc-sparc64/Manifest
index 984c367d71d0..8ad52078af5e 100644
--- a/sys-devel/gcc-sparc64/Manifest
+++ b/sys-devel/gcc-sparc64/Manifest
@@ -13,6 +13,7 @@ DIST gcc-3.3.5.tar.bz2 23833856
DIST gcc-3.3.6.tar.bz2 23972413 RMD160 b32c7a08c690857f0ac52dda3deb47cf5775d967 SHA1 2cc43978bb09af6c2ccfdf74797d10d7cc2596fb SHA256 1c1aa533c67e9da5e55ed4f5736258dc753466bd716bdae3fb88fb66e6ff1d7f
DIST gcc-3.4.5.tar.bz2 28254232 RMD160 611ad033a76ada49d43529fc694142e856a039fa SHA1 389bcc98e391545e501c05557a8651104beac059 SHA256 be5738a94076052453894dd7d35b1efbb017bba1da0b28495d145f98fe018a09
DIST gcc-3.4.6.tar.bz2 28193401 RMD160 b15003368cedc7964f6ceaee0c39ddc43a46c442 SHA1 97b290fdc572c8e490b3b39f243e69bacad23c2b SHA256 7791a601878b765669022b8b3409fba33cc72f9e39340fec8af6d0e6f72dec39
+DIST gcc-4.0.3.tar.bz2 370397 RMD160 3c4af862e5ff350b9d4e9b45ad5d457d2a1d01ab SHA1 3fc24eea3f6582a3858a97466a14c43b5219b961 SHA256 2d38ceb262ba3b88b9eff2f3cf1908e7bbb6909553f049236f41f338f98f8a75
DIST gcc-4.1.1.tar.bz2 39172003 RMD160 0edeac242d900b075a7e36796380492b5b3c8564 SHA1 a398b95d38b6e35f4c4e02c34c0a3bff79811f8f SHA256 985cbb23a486570a8783395a42a8689218f5218a0ccdd6bec590eef341367bb7
EBUILD gcc-sparc64-3.3.5.ebuild 3079 RMD160 e16996f3464247d1228886c4ec871ff0b07a73b1 SHA1 1f9e777f6dabb7c7a0514236feabcc7d01e4ab9b SHA256 ca26fbc85a753ed051f544aa5df24c917ccbab5096de919f542950a1c040c724
MD5 ad626f3ea591ad69f7e8f122412c0b25 gcc-sparc64-3.3.5.ebuild 3079
@@ -30,14 +31,18 @@ EBUILD gcc-sparc64-3.4.6.ebuild 3416 RMD160 c603787989712064d50a545d4c40069d69f5
MD5 250a9e14a05e719046d1955b59e4ca5c gcc-sparc64-3.4.6.ebuild 3416
RMD160 c603787989712064d50a545d4c40069d69f596fa gcc-sparc64-3.4.6.ebuild 3416
SHA256 01710f025b8096dad0fb7f898f11b096ef432eb1a49060e9a0b3d63967ab176f gcc-sparc64-3.4.6.ebuild 3416
+EBUILD gcc-sparc64-4.0.3.ebuild 3572 RMD160 fa831d83e8de28ce9f78004a06f2a3ed4c03a6da SHA1 945797094c5aeb6a784e9b24b5e2571f772a0db6 SHA256 5ff8d5455b62083a8a431f154deeb597ccad76b4dd04e184a2b5a1572026ad6d
+MD5 4de0761460f0be872a339903983342ae gcc-sparc64-4.0.3.ebuild 3572
+RMD160 fa831d83e8de28ce9f78004a06f2a3ed4c03a6da gcc-sparc64-4.0.3.ebuild 3572
+SHA256 5ff8d5455b62083a8a431f154deeb597ccad76b4dd04e184a2b5a1572026ad6d gcc-sparc64-4.0.3.ebuild 3572
EBUILD gcc-sparc64-4.1.1.ebuild 3572 RMD160 9f83ed40e5de7d1e7624c8b55a10037e3e9fbf19 SHA1 8021c3a8f8a30e17c49bfdfea1141c83ad0ffe1e SHA256 040755bf103982cbda2c330493bbbe0f66faf90026b42e16d1a3c286ca884d7a
MD5 34f6938c0cacd1ddbf9cbcc3d7fa049a gcc-sparc64-4.1.1.ebuild 3572
RMD160 9f83ed40e5de7d1e7624c8b55a10037e3e9fbf19 gcc-sparc64-4.1.1.ebuild 3572
SHA256 040755bf103982cbda2c330493bbbe0f66faf90026b42e16d1a3c286ca884d7a gcc-sparc64-4.1.1.ebuild 3572
-MISC ChangeLog 6368 RMD160 489ae89cc0e3c17aa6c9b856fef57717d9290414 SHA1 f320d0d7732e65a3074ea841b9fdd538d4df18bf SHA256 5756fe89bd1be2c86aab0b8ef493c99c947ff3c579b15e39804e3e7ad3f557c4
-MD5 bf3f400f1bb19f9e91fc80e4df6f39ec ChangeLog 6368
-RMD160 489ae89cc0e3c17aa6c9b856fef57717d9290414 ChangeLog 6368
-SHA256 5756fe89bd1be2c86aab0b8ef493c99c947ff3c579b15e39804e3e7ad3f557c4 ChangeLog 6368
+MISC ChangeLog 6522 RMD160 6f6e793c1fd930329050dedbe8a1505d635813f4 SHA1 36fb9a92641125c515787162bfd094d1b0b43a40 SHA256 d072a935718f536944e774acfa7f199ba99985bf4b3d70a5ca62a8739f0fd14c
+MD5 fe34c0f78b6d583efa265d22954b648c ChangeLog 6522
+RMD160 6f6e793c1fd930329050dedbe8a1505d635813f4 ChangeLog 6522
+SHA256 d072a935718f536944e774acfa7f199ba99985bf4b3d70a5ca62a8739f0fd14c ChangeLog 6522
MISC metadata.xml 360 RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 SHA1 649199c261f07bfc70ac0776df52e91d8c8739bf SHA256 8dd9b7b1c62cf1c0681c72ae0e8d50184c52702559b2999ae58f23d749316bd1
MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360
RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 metadata.xml 360
@@ -54,13 +59,16 @@ SHA256 083f56ea3bbdb792eca0997ccfa044b2ba0e5a1c2d20aaaf7b0630dc430b71ec files/di
MD5 8fc27b2f831bbe81d5f3bc7005a44ca0 files/digest-gcc-sparc64-3.4.6 238
RMD160 e740aa34a8ebbb3a6b339afb74c9b7ad4dab824f files/digest-gcc-sparc64-3.4.6 238
SHA256 977bbf6314223f25cab3dcdb74a586dbadf8f3aa6218d570483f8b684a27e764 files/digest-gcc-sparc64-3.4.6 238
+MD5 528d16acff0ee686ad66652c3305b336 files/digest-gcc-sparc64-4.0.3 232
+RMD160 171d43001641d905e22cf9ea533ec07f2fe90906 files/digest-gcc-sparc64-4.0.3 232
+SHA256 8242c344054072d453ed0defec99cbc67ca2acdc5a6893b359aa64f9076e2d0f files/digest-gcc-sparc64-4.0.3 232
MD5 41caa82366308aff5ccd43303056379c files/digest-gcc-sparc64-4.1.1 238
RMD160 b280d59080e244cbdf717f7693886062b1a0c5e0 files/digest-gcc-sparc64-4.1.1 238
SHA256 7cc3a3ac8158450086aec0096ef86f7bc8b2e1d9510bd6a796fc51d64241f2ac files/digest-gcc-sparc64-4.1.1 238
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
-iD8DBQFE0LifKRy60XGEcJIRAgfAAKCUe83Ot9xTC11J3Ii5L/feQFRqhACfdHua
-jRwH3O6A5qVzbS5FnkPLD1U=
-=xtdz
+iD8DBQFE3JgbKRy60XGEcJIRAjfbAJwNo2XK+okcp38YXVRQtqUA79fAOgCeIvYx
+B0udzRJSVwdezq//Lg1zkKE=
+=W0WE
-----END PGP SIGNATURE-----
diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.0.3 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.0.3
new file mode 100644
index 000000000000..2a638aa66f2d
--- /dev/null
+++ b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-4.0.3
@@ -0,0 +1,3 @@
+MD5 a684c71fc8891fc2c5ef4df3982ffb61 gcc-4.0.3.tar.bz2 370397
+RMD160 3c4af862e5ff350b9d4e9b45ad5d457d2a1d01ab gcc-4.0.3.tar.bz2 370397
+SHA256 2d38ceb262ba3b88b9eff2f3cf1908e7bbb6909553f049236f41f338f98f8a75 gcc-4.0.3.tar.bz2 370397
diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-4.0.3.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-4.0.3.ebuild
new file mode 100644
index 000000000000..4d05cb014d76
--- /dev/null
+++ b/sys-devel/gcc-sparc64/gcc-sparc64-4.0.3.ebuild
@@ -0,0 +1,137 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/gcc-sparc64-4.0.3.ebuild,v 1.1 2006/08/11 14:45:35 gustavoz Exp $
+
+inherit eutils flag-o-matic
+
+# Variables
+MYARCH="$(echo ${PN} | cut -d- -f2)"
+TMP_P="${P/-${MYARCH}/}"
+TMP_PN="${PN/-${MYARCH}/}"
+I="/usr"
+BRANCH_UPDATE=""
+
+DESCRIPTION="SPARC64 Kernel Compiler (Experimental)"
+HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html"
+
+SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${TMP_P}/${TMP_P}.tar.bz2"
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0"
+
+KEYWORDS="~sparc"
+
+DEPEND="virtual/libc
+ >=sys-devel/binutils-2.16.1
+ || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.13-r2 )"
+
+RDEPEND="virtual/libc
+ || ( app-admin/eselect-compiler >=sys-devel/gcc-config-1.3.13-r2 )
+ >=sys-libs/zlib-1.1.4
+ >=sys-apps/texinfo-4.2-r4
+ >=sys-libs/ncurses-5.2-r2"
+
+# Ripped from toolchain.eclass
+gcc_version_patch() {
+ [ -z "$1" ] && die "no arguments to gcc_version_patch"
+
+ sed -i -e 's~\(const char version_string\[\] = ".....\).*\(".*\)~\1 @GENTOO@\2~' ${S}/gcc/version.c || die "failed to add @GENTOO@"
+ sed -i -e "s:@GENTOO@:$1:g" ${S}/gcc/version.c || die "failed to patch version"
+ 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}
+ ln -s ${TMP_P} ${P}
+ cd ${S}
+
+ # Patch in Branch update
+ if [ ! -z "${BRANCH_UPDATE}" ]; then
+ epatch ${WORKDIR}/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch
+ fi
+
+ # Make gcc's version info specific to Gentoo
+ gcc_version_patch "(Gentoo Linux ${PVR})"
+}
+
+src_compile() {
+ cd ${WORKDIR}
+ ln -s ${TMP_P} ${P}
+
+ append-flags "-Dinhibit_libc"
+
+ # Build in a separate build tree
+ mkdir -p ${WORKDIR}/build
+ cd ${WORKDIR}/build
+
+ einfo "Configuring GCC..."
+ if [ "`uname -m | grep 64`" ]; then
+ myconf="${myconf} --host=${MYARCH/64/}-unknown-linux-${MYUSERLAND}"
+ fi
+
+ addwrite "/dev/zero"
+ ${S}/configure --prefix=${I} \
+ --disable-shared \
+ --disable-multilib \
+ --disable-libssp \
+ --disable-libmudflap \
+ --disable-libgcj \
+ --disable-bootstrap \
+ --disable-nls \
+ --target=${MYARCH}-unknown-linux-${MYUSERLAND} \
+ --enable-languages=c \
+ --enable-threads=single \
+ ${myconf} || die
+
+ einfo "Building GCC..."
+ S="${WORKDIR}/build" \
+ emake CFLAGS="${CFLAGS}" || die
+}
+
+src_install() {
+ # Do allow symlinks in ${I}/lib/gcc-lib/${CHOST}/${PV}/include as
+ # this can break the build.
+ for x in cd ${WORKDIR}/build/gcc/include/*
+ do
+ if [ -L ${x} ]
+ then
+ rm -f ${x}
+ fi
+ done
+
+ einfo "Installing GCC..."
+ # Do the 'make install' from the build directory
+ cd ${WORKDIR}/build
+ S="${WORKDIR}/build" \
+ emake prefix=${D}${I} \
+ FAKE_ROOT="${D}" \
+ install || die
+
+ cd ${D}${I}/bin
+ 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 "For 2.6.x kernel builds:"
+ einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH/64/} 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>"
+ einfo "Where <target> is one of the usual kernel targets"
+ einfo ""
+ epause 10
+}