summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Kinard <kumba@gentoo.org>2004-12-09 09:09:31 +0000
committerJoshua Kinard <kumba@gentoo.org>2004-12-09 09:09:31 +0000
commite0c1ce1cf7eefbb4a42e89a9757e73349f87d39c (patch)
tree032ac50ea412ac092a5e1d17d933ffaea3a8d9f6 /sys-devel
parentlibtoolize --force --copy. (Manifest recommit) (diff)
downloadgentoo-2-e0c1ce1cf7eefbb4a42e89a9757e73349f87d39c.tar.gz
gentoo-2-e0c1ce1cf7eefbb4a42e89a9757e73349f87d39c.tar.bz2
gentoo-2-e0c1ce1cf7eefbb4a42e89a9757e73349f87d39c.zip
Fix message in postinst to give correct commands for 2.4.x and 2.6.x builds, and remove old versions.
Diffstat (limited to 'sys-devel')
-rw-r--r--sys-devel/gcc-mips64/ChangeLog11
-rw-r--r--sys-devel/gcc-mips64/Manifest17
-rw-r--r--sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.11
-rw-r--r--sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.21
-rw-r--r--sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.32
-rw-r--r--sys-devel/gcc-mips64/files/gcc-3.3.1-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc-mips64/files/gcc-3.3.2-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc-mips64/files/gcc-3.3.3-gentoo-branding.patch18
-rw-r--r--sys-devel/gcc-mips64/gcc-mips64-3.3.1.ebuild120
-rw-r--r--sys-devel/gcc-mips64/gcc-mips64-3.3.2.ebuild120
-rw-r--r--sys-devel/gcc-mips64/gcc-mips64-3.3.3.ebuild124
-rw-r--r--sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild6
-rw-r--r--sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild6
13 files changed, 24 insertions, 438 deletions
diff --git a/sys-devel/gcc-mips64/ChangeLog b/sys-devel/gcc-mips64/ChangeLog
index d6e31c11d10a..af0df9741378 100644
--- a/sys-devel/gcc-mips64/ChangeLog
+++ b/sys-devel/gcc-mips64/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for sys-devel/gcc-mips64
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/ChangeLog,v 1.9 2004/11/11 09:02:34 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/ChangeLog,v 1.10 2004/12/09 09:09:31 kumba Exp $
+
+ 09 Dec 2004; Joshua Kinard <kumba@gentoo.org>
+ -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-mips64-3.3.1.ebuild,
+ -gcc-mips64-3.3.2.ebuild, -gcc-mips64-3.3.3.ebuild, gcc-mips64-3.3.4.ebuild,
+ gcc-mips64-3.4.3.ebuild:
+ Fix message in postinst to give correct commands for 2.4.x and 2.6.x builds,
+ and remove old versions.
*gcc-mips64-3.4.3 (11 Nov 2004)
diff --git a/sys-devel/gcc-mips64/Manifest b/sys-devel/gcc-mips64/Manifest
index 9f570f3c9c02..5f446256a84e 100644
--- a/sys-devel/gcc-mips64/Manifest
+++ b/sys-devel/gcc-mips64/Manifest
@@ -1,16 +1,7 @@
-MD5 746d37d5900ced04c91a96cc7a1e69a5 ChangeLog 1701
-MD5 ce3b722744cc3a4d611e9d12a17a7785 gcc-mips64-3.3.1.ebuild 2827
-MD5 5a5a6ad56fe1d1ce71f555c7195c37e5 gcc-mips64-3.3.2.ebuild 2827
-MD5 74e155958434ec896c6aa0936ae76b90 gcc-mips64-3.3.3.ebuild 3015
-MD5 d4bdfdc3a2fbed1fc2768dc179ee6d71 gcc-mips64-3.3.4.ebuild 3023
+MD5 80c8f52f6de22b6e15b4c4bf7e019c71 ChangeLog 2114
+MD5 1dec3cb8c363052831285447ce428a2f gcc-mips64-3.3.4.ebuild 3201
+MD5 27621fd06afdfe176b01cd9436fafaaa gcc-mips64-3.4.3.ebuild 3439
MD5 efda60760635b5f29e31a8f730a73086 metadata.xml 364
-MD5 b75c3872c37a19516a9b9123272e8ff8 gcc-mips64-3.4.3.ebuild 3261
-MD5 12e3974934d4a83bf4540c3e0592b226 files/digest-gcc-mips64-3.3.1 64
-MD5 006481ae255582fae4fa22107dfb359e files/digest-gcc-mips64-3.3.2 64
-MD5 6c081be1d52e43fcf80a52040e7c3312 files/digest-gcc-mips64-3.3.3 151
MD5 af241dd07c46bc5b0c2d54eac803f1f3 files/digest-gcc-mips64-3.3.4 151
-MD5 d3e53318166d71a05d2b51bd44502270 files/gcc-3.3.1-gentoo-branding.patch 874
-MD5 d9ae122db2768f8e504dfef256d4991f files/gcc-3.3.2-gentoo-branding.patch 874
-MD5 cd87c02e4896f47bf6029eef0dc29468 files/gcc-3.3.3-gentoo-branding.patch 874
-MD5 e411938ca2908079a2359fed5cb3b442 files/gcc-3.3.4-gentoo-branding.patch 874
MD5 2ca380cbcf0547fb5d2a671c1c0296de files/digest-gcc-mips64-3.4.3 64
+MD5 e411938ca2908079a2359fed5cb3b442 files/gcc-3.3.4-gentoo-branding.patch 874
diff --git a/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.1 b/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.1
deleted file mode 100644
index 48d6e8dde3f7..000000000000
--- a/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 1135a104e9fa36fdf7c663598fab5c40 gcc-3.3.1.tar.bz2 23544362
diff --git a/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.2 b/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.2
deleted file mode 100644
index 77fbcb74b416..000000000000
--- a/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 65999f654102f5438ac8562d13a6eced gcc-3.3.2.tar.bz2 23585904
diff --git a/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.3 b/sys-devel/gcc-mips64/files/digest-gcc-mips64-3.3.3
deleted file mode 100644
index 026725d71282..000000000000
--- a/sys-devel/gcc-mips64/files/digest-gcc-mips64-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-mips64/files/gcc-3.3.1-gentoo-branding.patch b/sys-devel/gcc-mips64/files/gcc-3.3.1-gentoo-branding.patch
deleted file mode 100644
index e3bc0abb9298..000000000000
--- a/sys-devel/gcc-mips64/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-mips64/files/gcc-3.3.2-gentoo-branding.patch b/sys-devel/gcc-mips64/files/gcc-3.3.2-gentoo-branding.patch
deleted file mode 100644
index d3b34c72ab66..000000000000
--- a/sys-devel/gcc-mips64/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-mips64/files/gcc-3.3.3-gentoo-branding.patch b/sys-devel/gcc-mips64/files/gcc-3.3.3-gentoo-branding.patch
deleted file mode 100644
index fc25bf5e8c37..000000000000
--- a/sys-devel/gcc-mips64/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-mips64/gcc-mips64-3.3.1.ebuild b/sys-devel/gcc-mips64/gcc-mips64-3.3.1.ebuild
deleted file mode 100644
index 48715e3c5576..000000000000
--- a/sys-devel/gcc-mips64/gcc-mips64-3.3.1.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.3.1.ebuild,v 1.8 2004/09/06 20:52:48 ciaranm Exp $
-
-inherit flag-o-matic eutils
-
-# Variables
-MYARCH="$(echo ${PN} | cut -d- -f2)"
-TMP_P="${P/-${MYARCH}/}"
-TMP_PN="${PN/-${MYARCH}/}"
-I="/usr"
-
-
-DESCRIPTION="Mips64 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="~mips"
-IUSE="build"
-
-DEPEND="virtual/libc
- >=sys-devel/binutils-2.14.90.0.5
- >=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 )"
-
-
-
-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-mips64/gcc-mips64-3.3.2.ebuild b/sys-devel/gcc-mips64/gcc-mips64-3.3.2.ebuild
deleted file mode 100644
index 28d66049577d..000000000000
--- a/sys-devel/gcc-mips64/gcc-mips64-3.3.2.ebuild
+++ /dev/null
@@ -1,120 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.3.2.ebuild,v 1.8 2004/09/06 20:52:48 ciaranm Exp $
-
-inherit flag-o-matic eutils
-
-# Variables
-MYARCH="$(echo ${PN} | cut -d- -f2)"
-TMP_P="${P/-${MYARCH}/}"
-TMP_PN="${PN/-${MYARCH}/}"
-I="/usr"
-
-
-DESCRIPTION="Mips64 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="~mips"
-IUSE="build"
-
-DEPEND="virtual/libc
- >=sys-devel/binutils-2.14.90.0.5
- >=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 )"
-
-
-
-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-mips64/gcc-mips64-3.3.3.ebuild b/sys-devel/gcc-mips64/gcc-mips64-3.3.3.ebuild
deleted file mode 100644
index bb8da0eb4813..000000000000
--- a/sys-devel/gcc-mips64/gcc-mips64-3.3.3.ebuild
+++ /dev/null
@@ -1,124 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.3.3.ebuild,v 1.6 2004/09/06 20:52:48 ciaranm 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="Mips64 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="~mips"
-IUSE="build"
-
-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 )"
-
-
-
-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
-}
diff --git a/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild b/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild
index 5babf8de2650..19c838fff7a8 100644
--- a/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild
+++ b/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild,v 1.2 2004/09/06 20:52:48 ciaranm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.3.4.ebuild,v 1.3 2004/12/09 09:09:31 kumba Exp $
# Variables
@@ -114,8 +114,12 @@ 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.4.x kernel builds:"
einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-gnu-\""
einfo ""
+ einfo "For 2.6.x kernel builds:"
+ einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH/64/} 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"
diff --git a/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild b/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild
index 55c1a238dc23..2de44b1ba756 100644
--- a/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild
+++ b/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild,v 1.1 2004/11/11 09:02:34 kumba Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc-mips64/gcc-mips64-3.4.3.ebuild,v 1.2 2004/12/09 09:09:31 kumba Exp $
# Variables
@@ -115,8 +115,12 @@ 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.4.x kernel builds:"
einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH} CROSS_COMPILE=${MYARCH}-unknown-linux-gnu-\""
einfo ""
+ einfo "For 2.6.x kernel builds:"
+ einfo "alias ${MYARCH}make=\"make ARCH=${MYARCH/64/} 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"