diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-03-24 01:45:06 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2005-03-24 01:45:06 +0000 |
commit | 50cbd4fe33a761918b734aadda05d2ea87fea72f (patch) | |
tree | 5cbb37b8468722768739bcfda38f2c1eccede23f /sys-devel | |
parent | Removing Experimental wording leftover from egcs since it scares users like c... (diff) | |
download | gentoo-2-50cbd4fe33a761918b734aadda05d2ea87fea72f.tar.gz gentoo-2-50cbd4fe33a761918b734aadda05d2ea87fea72f.tar.bz2 gentoo-2-50cbd4fe33a761918b734aadda05d2ea87fea72f.zip |
Old version cleanup
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc-sparc64/ChangeLog | 11 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.2.3 | 1 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.1 | 1 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.2 | 1 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.3 | 2 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.2.3-gentoo-branding.patch | 42 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.3.1-gentoo-branding.patch | 18 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.3.2-gentoo-branding.patch | 18 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.3.3-gentoo-branding.patch | 18 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.2.3.ebuild | 121 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.3.1.ebuild | 121 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.3.2.ebuild | 121 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.3.3.ebuild | 124 |
13 files changed, 10 insertions, 589 deletions
diff --git a/sys-devel/gcc-sparc64/ChangeLog b/sys-devel/gcc-sparc64/ChangeLog index 2a11bc466604..a399e2394aa3 100644 --- a/sys-devel/gcc-sparc64/ChangeLog +++ b/sys-devel/gcc-sparc64/ChangeLog @@ -1,6 +1,15 @@ # 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.21 2005/03/24 01:41:52 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-sparc64/ChangeLog,v 1.22 2005/03/24 01:45:06 gustavoz Exp $ + + 23 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> + -files/gcc-3.2.3-gentoo-branding.patch, + -files/gcc-3.3.1-gentoo-branding.patch, + -files/gcc-3.3.2-gentoo-branding.patch, + -files/gcc-3.3.3-gentoo-branding.patch, -gcc-sparc64-3.2.3.ebuild, + -gcc-sparc64-3.3.1.ebuild, -gcc-sparc64-3.3.2.ebuild, + -gcc-sparc64-3.3.3.ebuild: + Old version cleanup 23 Mar 2005; Gustavo Zacarias <gustavoz@gentoo.org> gcc-sparc64-3.3.4.ebuild, gcc-sparc64-3.3.5.ebuild: diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.2.3 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.2.3 deleted file mode 100644 index 7d5ef9cc51ce..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.2.3 +++ /dev/null @@ -1 +0,0 @@ -MD5 23d1146d5efa0e0bfad9968dbb418e1e gcc-3.2.3.tar.bz2 20662887 diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.1 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.1 deleted file mode 100644 index 48d6e8dde3f7..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362 diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.2 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.2 deleted file mode 100644 index 77fbcb74b416..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 65999f654102f5438ac8562d13a6eced gcc-3.3.2.tar.bz2 23585904 diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.3 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.3 deleted file mode 100644 index 026725d71282..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.3 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 3c6cfd9fcd180481063b4058cf6faff2 gcc-3.3.3.tar.bz2 23279245 -MD5 c6f0f4baae3ef904ba8886d7ef99938d gcc-3.3.3-branch-update-20040217.patch.bz2 150987 diff --git a/sys-devel/gcc-sparc64/files/gcc-3.2.3-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.2.3-gentoo-branding.patch deleted file mode 100644 index 65fc1b5d7f15..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.2.3-gentoo-branding.patch +++ /dev/null @@ -1,42 +0,0 @@ -diff -Naurp gcc-3.2.3.orig/gcc/ada/gnatvsn.ads gcc-3.2.3/gcc/ada/gnatvsn.ads ---- gcc-3.2.3.orig/gcc/ada/gnatvsn.ads 2003-04-22 02:16:06.000000000 -0400 -+++ gcc-3.2.3/gcc/ada/gnatvsn.ads 2003-04-26 12:20:22.000000000 -0400 -@@ -38,7 +38,7 @@ - - package Gnatvsn is - -- Gnat_Version_String : constant String := "3.2.3 20030422 (release)"; -+ Gnat_Version_String : constant String := "3.2.3 20030422 (Gentoo 1.4)"; - -- Version output when GNAT (compiler), or its related tools, including - -- GNATBIND, GNATCHOP, GNATFIND, GNATLINK, GNATMAKE, GNATXREF, are run - -- (with appropriate verbose option switch set). -diff -Naurp gcc-3.2.3.orig/gcc/f/version.c gcc-3.2.3/gcc/f/version.c ---- gcc-3.2.3.orig/gcc/f/version.c 2003-04-22 02:16:09.000000000 -0400 -+++ gcc-3.2.3/gcc/f/version.c 2003-04-26 12:25:38.000000000 -0400 -@@ -1,4 +1,4 @@ - #include "ansidecl.h" - #include "f/version.h" - --const char *const ffe_version_string = "3.2.3 20030422 (release)"; -+const char *const ffe_version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)"; -diff -Naurp gcc-3.2.3.orig/gcc/system.h gcc-3.2.3/gcc/system.h ---- gcc-3.2.3.orig/gcc/system.h 2003-03-30 20:14:02.000000000 -0500 -+++ gcc-3.2.3/gcc/system.h 2003-04-26 12:24:55.000000000 -0400 -@@ -26,7 +26,7 @@ Software Foundation, 59 Temple Place - S - /* This is the location of the online document giving information how - to report bugs. If you change this string, also check for strings - not under control of the preprocessor. */ --#define GCCBUGURL "<URL:http://gcc.gnu.org/bugs.html>" -+#define GCCBUGURL "<URL:http://bugs.gentoo.org/>" - - /* We must include stdarg.h/varargs.h before stdio.h. */ - #ifdef ANSI_PROTOTYPES -diff -Naurp gcc-3.2.3.orig/gcc/version.c gcc-3.2.3/gcc/version.c ---- gcc-3.2.3.orig/gcc/version.c 2003-04-22 02:16:03.000000000 -0400 -+++ gcc-3.2.3/gcc/version.c 2003-04-26 12:25:28.000000000 -0400 -@@ -1,4 +1,4 @@ - #include "ansidecl.h" - #include "version.h" - --const char *const version_string = "3.2.3"; -+const char *const version_string = "3.2.3 20030422 (Gentoo Linux 1.4 @PV@)"; diff --git a/sys-devel/gcc-sparc64/files/gcc-3.3.1-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.3.1-gentoo-branding.patch deleted file mode 100644 index e3bc0abb9298..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.3.1-gentoo-branding.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c ---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400 -+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400 -@@ -6,7 +6,7 @@ - please modify this string to indicate that, e.g. by putting your - organization's name in parentheses at the end of the string. */ - --const char version_string[] = "3.3.1"; -+const char version_string[] = "3.3.1 @GENTOO@"; - - /* This is the location of the online document giving instructions for - reporting bugs. If you distribute a modified version of GCC, -@@ -15,4 +15,4 @@ const char version_string[] = "3.3"; - forward us bugs reported to you, if you determine that they are - not bugs in your modifications.) */ - --const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>"; -+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>"; diff --git a/sys-devel/gcc-sparc64/files/gcc-3.3.2-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.3.2-gentoo-branding.patch deleted file mode 100644 index d3b34c72ab66..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.3.2-gentoo-branding.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c ---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400 -+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400 -@@ -6,7 +6,7 @@ - please modify this string to indicate that, e.g. by putting your - organization's name in parentheses at the end of the string. */ - --const char version_string[] = "3.3.2"; -+const char version_string[] = "3.3.2 @GENTOO@"; - - /* This is the location of the online document giving instructions for - reporting bugs. If you distribute a modified version of GCC, -@@ -15,4 +15,4 @@ const char version_string[] = "3.3"; - forward us bugs reported to you, if you determine that they are - not bugs in your modifications.) */ - --const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>"; -+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>"; diff --git a/sys-devel/gcc-sparc64/files/gcc-3.3.3-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.3.3-gentoo-branding.patch deleted file mode 100644 index fc25bf5e8c37..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.3.3-gentoo-branding.patch +++ /dev/null @@ -1,18 +0,0 @@ -diff -Naurp gcc-3.3.orig/gcc/version.c gcc-3.3/gcc/version.c ---- gcc-3.3.orig/gcc/version.c 2003-05-13 17:26:03.000000000 -0400 -+++ gcc-3.3/gcc/version.c 2003-05-16 14:35:08.000000000 -0400 -@@ -6,7 +6,7 @@ - please modify this string to indicate that, e.g. by putting your - organization's name in parentheses at the end of the string. */ - --const char version_string[] = "3.3.3"; -+const char version_string[] = "3.3.3 @GENTOO@"; - - /* This is the location of the online document giving instructions for - reporting bugs. If you distribute a modified version of GCC, -@@ -15,4 +15,4 @@ const char version_string[] = "3.3"; - forward us bugs reported to you, if you determine that they are - not bugs in your modifications.) */ - --const char bug_report_url[] = "<URL:http://gcc.gnu.org/bugs.html>"; -+const char bug_report_url[] = "<URL:http://bugs.gentoo.org/>"; diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.2.3.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.2.3.ebuild deleted file mode 100644 index f1afd155f51f..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.2.3.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# 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.2.3.ebuild,v 1.12 2005/01/11 13:31:56 gustavoz Exp $ - -inherit flag-o-matic eutils - -# Variables -MYARCH="$(echo ${PN} | cut -d- -f2)" -TMP_P="${P/-${MYARCH}/}" -TMP_PN="${PN/-${MYARCH}/}" -I="/usr" - - -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" -IUSE="build" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - >=sys-devel/gcc-config-1.3.1 - !sys-devel/egcs64-sparc" - -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 )" - - - -version_patch() { - [ ! -f "$1" ] && return 1 - [ -z "$2" ] && return 1 - - sed -e "s:@GENTOO@:$2:g" ${1} > ${T}/${1##*/} - epatch ${T}/${1##*/} -} - -src_unpack() { - unpack ${TMP_P}.tar.bz2 - cd ${WORKDIR} - ln -s ${TMP_P} ${P} - cd ${S} - - # Make gcc's version info specific to Gentoo - if [ -z "${PP_VER}" ]; then - version_patch ${FILESDIR}/${TMP_P}-gentoo-branding.patch \ - "(Gentoo Linux ${PVR})" || die "Failed Branding" - fi -} - -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 -} diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.1.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.3.1.ebuild deleted file mode 100644 index 7a0869c71411..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.1.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# 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.3.1.ebuild,v 1.12 2005/01/11 13:31:56 gustavoz Exp $ - -inherit flag-o-matic eutils - -# Variables -MYARCH="$(echo ${PN} | cut -d- -f2)" -TMP_P="${P/-${MYARCH}/}" -TMP_PN="${PN/-${MYARCH}/}" -I="/usr" - - -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" -IUSE="build" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - >=sys-devel/gcc-config-1.3.1 - !sys-devel/egcs64-sparc" - -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 )" - - - -version_patch() { - [ ! -f "$1" ] && return 1 - [ -z "$2" ] && return 1 - - sed -e "s:@GENTOO@:$2:g" ${1} > ${T}/${1##*/} - epatch ${T}/${1##*/} -} - -src_unpack() { - unpack ${TMP_P}.tar.bz2 - cd ${WORKDIR} - ln -s ${TMP_P} ${P} - cd ${S} - - # Make gcc's version info specific to Gentoo - if [ -z "${PP_VER}" ]; then - version_patch ${FILESDIR}/${TMP_P}-gentoo-branding.patch \ - "(Gentoo Linux ${PVR})" || die "Failed Branding" - fi -} - -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 -} diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.2.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.3.2.ebuild deleted file mode 100644 index 6c061460e8e3..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.2.ebuild +++ /dev/null @@ -1,121 +0,0 @@ -# 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.3.2.ebuild,v 1.12 2005/01/11 13:31:56 gustavoz Exp $ - -inherit flag-o-matic eutils - -# Variables -MYARCH="$(echo ${PN} | cut -d- -f2)" -TMP_P="${P/-${MYARCH}/}" -TMP_PN="${PN/-${MYARCH}/}" -I="/usr" - - -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" -IUSE="build" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - >=sys-devel/gcc-config-1.3.1 - !sys-devel/egcs64-sparc" - -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 )" - - - -version_patch() { - [ ! -f "$1" ] && return 1 - [ -z "$2" ] && return 1 - - sed -e "s:@GENTOO@:$2:g" ${1} > ${T}/${1##*/} - epatch ${T}/${1##*/} -} - -src_unpack() { - unpack ${TMP_P}.tar.bz2 - cd ${WORKDIR} - ln -s ${TMP_P} ${P} - cd ${S} - - # Make gcc's version info specific to Gentoo - if [ -z "${PP_VER}" ]; then - version_patch ${FILESDIR}/${TMP_P}-gentoo-branding.patch \ - "(Gentoo Linux ${PVR})" || die "Failed Branding" - fi -} - -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 -} diff --git a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.3.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.3.3.ebuild deleted file mode 100644 index 7c6e592688f3..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.3.ebuild +++ /dev/null @@ -1,124 +0,0 @@ -# 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.3.3.ebuild,v 1.10 2005/01/11 13:31:56 gustavoz Exp $ - -# Variables -inherit eutils flag-o-matic -MYARCH="$(echo ${PN} | cut -d- -f2)" -TMP_P="${P/-${MYARCH}/}" -TMP_PN="${PN/-${MYARCH}/}" -I="/usr" -BRANCH_UPDATE="20040217" - -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 - mirror://gentoo/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch.bz2" -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" - -KEYWORDS="sparc" -IUSE="build" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - >=sys-devel/gcc-config-1.3.1 - !sys-devel/egcs64-sparc" - -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 )" - - - -version_patch() { - [ ! -f "$1" ] && return 1 - [ -z "$2" ] && return 1 - - sed -e "s:@GENTOO@:$2:g" ${1} > ${T}/${1##*/} - epatch ${T}/${1##*/} -} - -src_unpack() { - unpack ${A} - cd ${WORKDIR} - ln -s ${TMP_P} ${P} - cd ${S} - - # Patch in Branch update - epatch ${WORKDIR}/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch - - # Make gcc's version info specific to Gentoo - if [ -z "${PP_VER}" ]; then - version_patch ${FILESDIR}/${TMP_P}-gentoo-branding.patch \ - "${BRANCH_UPDATE} (Gentoo Linux ${PVR})" || die "Failed Branding" - fi -} - -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 -} |