diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-08-23 20:25:32 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-08-23 20:25:32 +0000 |
commit | b12ea49ecc88405fc7f6ad59a2f4628f364e6ad4 (patch) | |
tree | 69984eae21259db8c62cda158211b6fd1c19b966 /sys-devel/gcc-sparc64 | |
parent | stable on ia64 (diff) | |
download | historical-b12ea49ecc88405fc7f6ad59a2f4628f364e6ad4.tar.gz historical-b12ea49ecc88405fc7f6ad59a2f4628f364e6ad4.tar.bz2 historical-b12ea49ecc88405fc7f6ad59a2f4628f364e6ad4.zip |
Revbump to match userland gcc
Package-Manager: portage-2.0.51.22-r2
Diffstat (limited to 'sys-devel/gcc-sparc64')
-rw-r--r-- | sys-devel/gcc-sparc64/ChangeLog | 8 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/Manifest | 28 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.4 | 1 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild | 123 |
4 files changed, 146 insertions, 14 deletions
diff --git a/sys-devel/gcc-sparc64/ChangeLog b/sys-devel/gcc-sparc64/ChangeLog index d2d8b5ec0090..096b12cb7841 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-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.23 2005/06/08 00:46:55 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.24 2005/08/23 20:25:32 gustavoz Exp $ + +*gcc-sparc64-3.4.4 (23 Aug 2005) + + 23 Aug 2005; Gustavo Zacarias <gustavoz@gentoo.org> + +gcc-sparc64-3.4.4.ebuild: + Revbump to match userland gcc *gcc-sparc64-3.3.6 (08 Jun 2005) diff --git a/sys-devel/gcc-sparc64/Manifest b/sys-devel/gcc-sparc64/Manifest index cf55c51d8b86..17a93003864c 100644 --- a/sys-devel/gcc-sparc64/Manifest +++ b/sys-devel/gcc-sparc64/Manifest @@ -1,23 +1,25 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 be6f03243df7fa72791ed9f9494d5494 ChangeLog 4430 -MD5 af241dd07c46bc5b0c2d54eac803f1f3 files/digest-gcc-sparc64-3.3.4 151 -MD5 595fc5d3e417d76d1f7e7f0a8439535a files/digest-gcc-sparc64-3.3.5 64 +MD5 22972697e964b6a6e3074c831d47e5b6 gcc-sparc64-3.4.3.ebuild 3221 +MD5 e6840b2edd483d96b07baa56e313af4c gcc-sparc64-3.3.6.ebuild 3002 +MD5 374d4b109ffdf8a453c1400cd4ae92bb gcc-sparc64-3.3.5.ebuild 3001 +MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360 +MD5 59debd5a0e1859a4413b867600761f2c gcc-sparc64-3.4.4.ebuild 3152 +MD5 cbde0f50936a6d3559b523740b571912 gcc-sparc64-3.3.4.ebuild 3006 +MD5 0e4276f6a4a04a5c7b93379c11f9750c ChangeLog 4580 MD5 79ef0db9c6e9750aa92334dded832283 files/digest-gcc-sparc64-3.3.6 64 MD5 2ca380cbcf0547fb5d2a671c1c0296de files/digest-gcc-sparc64-3.4.3 64 +MD5 595fc5d3e417d76d1f7e7f0a8439535a files/digest-gcc-sparc64-3.3.5 64 MD5 e411938ca2908079a2359fed5cb3b442 files/gcc-3.3.4-gentoo-branding.patch 874 -MD5 5f8835c8de8d96466954796d2512a29b files/gcc-3.3.5-gentoo-branding.patch 874 +MD5 af241dd07c46bc5b0c2d54eac803f1f3 files/digest-gcc-sparc64-3.3.4 151 +MD5 4b8b4306f268900392bbd0319bdfdf65 files/digest-gcc-sparc64-3.4.4 64 MD5 bffc563ab83f8025f3e477286ece2e65 files/gcc-3.3.6-gentoo-branding.patch 874 -MD5 cbde0f50936a6d3559b523740b571912 gcc-sparc64-3.3.4.ebuild 3006 -MD5 374d4b109ffdf8a453c1400cd4ae92bb gcc-sparc64-3.3.5.ebuild 3001 -MD5 e6840b2edd483d96b07baa56e313af4c gcc-sparc64-3.3.6.ebuild 3002 -MD5 22972697e964b6a6e3074c831d47e5b6 gcc-sparc64-3.4.3.ebuild 3221 -MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360 +MD5 5f8835c8de8d96466954796d2512a29b files/gcc-3.3.5-gentoo-branding.patch 874 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) +Version: GnuPG v1.4.1-ecc0.1.6 (GNU/Linux) -iD8DBQFC0HA6I1lqEGTUzyQRAtgDAKCNJgZIs+5xRaQUeCvSl3xStRyL9wCfQAey -eg5GkmqV6o1KOk8YNXNhPBI= -=sVv9 +iD8DBQFDC4ZjKRy60XGEcJIRAs9lAJwIvPYlhaTgruPw1UlCXqw4y0gQFwCfbxsh +MOjRN647Z30axz+pa2UEhd4= +=ES+E -----END PGP SIGNATURE----- diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.4 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.4 new file mode 100644 index 000000000000..222982e0095a --- /dev/null +++ b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.4 @@ -0,0 +1 @@ +MD5 b594ff4ea4fbef4ba9220887de713dfe gcc-3.4.4.tar.bz2 27565872 diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild new file mode 100644 index 000000000000..23d856758f52 --- /dev/null +++ b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.4.ebuild @@ -0,0 +1,123 @@ +# 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 $ + +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" +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.14.90.0.7 + >=sys-devel/gcc-config-1.3.1" + +RDEPEND="virtual/libc + >=sys-devel/gcc-config-1.3.1 + >=sys-libs/zlib-1.1.4 + >=sys-apps/texinfo-4.2-r4 + !build? ( >=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" +} + +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-gnu" + fi + + addwrite "/dev/zero" + ${S}/configure --prefix=${I} \ + --disable-shared \ + --disable-multilib \ + --target=${MYARCH}-unknown-linux-gnu \ + --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" \ + make prefix=${D}${I} \ + FAKE_ROOT="${D}" \ + install || die + + cd ${D}${I}/bin + ln -s ${MYARCH}-unknown-linux-gnu-gcc gcc64 + ln -s ${MYARCH}-unknown-linux-gnu-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 + 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 +} |