diff options
author | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-10-05 22:08:14 +0000 |
---|---|---|
committer | Gustavo Zacarias <gustavoz@gentoo.org> | 2006-10-05 22:08:14 +0000 |
commit | 22c8771330a82ab73b9451e09e84cf2854ed3e65 (patch) | |
tree | 374c7e7f41a5428a0dae2ef65adb731f9e5860ad /sys-devel | |
parent | Cleanup old (diff) | |
download | historical-22c8771330a82ab73b9451e09e84cf2854ed3e65.tar.gz historical-22c8771330a82ab73b9451e09e84cf2854ed3e65.tar.bz2 historical-22c8771330a82ab73b9451e09e84cf2854ed3e65.zip |
Cleanup old
Package-Manager: portage-2.1.1
Diffstat (limited to 'sys-devel')
-rw-r--r-- | sys-devel/gcc-sparc64/Manifest | 48 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.5 | 3 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.6 | 3 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.5 | 3 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.3.5-gentoo-branding.patch | 18 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/files/gcc-3.3.6-gentoo-branding.patch | 18 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.3.5.ebuild | 126 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.3.6.ebuild | 126 | ||||
-rw-r--r-- | sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild | 132 |
9 files changed, 8 insertions, 469 deletions
diff --git a/sys-devel/gcc-sparc64/Manifest b/sys-devel/gcc-sparc64/Manifest index 8a1969aee885..93349a0079bb 100644 --- a/sys-devel/gcc-sparc64/Manifest +++ b/sys-devel/gcc-sparc64/Manifest @@ -1,32 +1,9 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX gcc-3.3.5-gentoo-branding.patch 874 RMD160 9d1233da5c1385059e2240937679d260415ac3cc SHA1 188cba11e4b06b77c560e8884090d6839d4f025e SHA256 ffc9783271b7882dc0fff158568f029788676dd880fd5b3a3c5cc59c7c0fb3a4 -MD5 5f8835c8de8d96466954796d2512a29b files/gcc-3.3.5-gentoo-branding.patch 874 -RMD160 9d1233da5c1385059e2240937679d260415ac3cc files/gcc-3.3.5-gentoo-branding.patch 874 -SHA256 ffc9783271b7882dc0fff158568f029788676dd880fd5b3a3c5cc59c7c0fb3a4 files/gcc-3.3.5-gentoo-branding.patch 874 -AUX gcc-3.3.6-gentoo-branding.patch 874 RMD160 0c0325f712ef53fde171a4ba895dd4149a2a1e90 SHA1 a6dfa7a9da3a02e8007a084b56e0fee2e5a09d3c SHA256 175ec9efe5f27994d46c02d760a999df79010571999462f8ff86c2b75d8b9a24 -MD5 bffc563ab83f8025f3e477286ece2e65 files/gcc-3.3.6-gentoo-branding.patch 874 -RMD160 0c0325f712ef53fde171a4ba895dd4149a2a1e90 files/gcc-3.3.6-gentoo-branding.patch 874 -SHA256 175ec9efe5f27994d46c02d760a999df79010571999462f8ff86c2b75d8b9a24 files/gcc-3.3.6-gentoo-branding.patch 874 -DIST gcc-3.3.5.tar.bz2 23833856 RMD160 34adf1a6f7ea302e9937c1a06ccf362711e25c58 SHA1 ab24a8690040de967c25a1fc8560d7ecc25bd460 SHA256 4ae90c6948d2654a254116fabb0cc7e474abf51ea841e6ef5cd8e6c161a9fa74 -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 32980638 RMD160 c0dd326faa6f226ee0250e059d1eac933a4b0e31 SHA1 5a94943d9ab823cf8d080cc7f9e8a4a91797afea SHA256 e866346111f4b043a784deca5afcd2fe0e9e16e97464fdff858abbfcbe28dafa DIST gcc-4.1.1.tar.bz2 39172003 RMD160 0edeac242d900b075a7e36796380492b5b3c8564 SHA1 a398b95d38b6e35f4c4e02c34c0a3bff79811f8f SHA256 985cbb23a486570a8783395a42a8689218f5218a0ccdd6bec590eef341367bb7 -EBUILD gcc-sparc64-3.3.5.ebuild 3077 RMD160 1286e2d3350aa19f38095cbcb7bd7fb8f5be65c8 SHA1 192f4fb30d950967afb91a6df5efcbb6fca39ad4 SHA256 307a67cfe3973d5aa7b30804bd182cb2664d251f47f4b720b330721ea4e0b14f -MD5 1f545addf67eb22645f25c3ab0a13cdc gcc-sparc64-3.3.5.ebuild 3077 -RMD160 1286e2d3350aa19f38095cbcb7bd7fb8f5be65c8 gcc-sparc64-3.3.5.ebuild 3077 -SHA256 307a67cfe3973d5aa7b30804bd182cb2664d251f47f4b720b330721ea4e0b14f gcc-sparc64-3.3.5.ebuild 3077 -EBUILD gcc-sparc64-3.3.6.ebuild 3077 RMD160 77c4ea057d20bb83e43f9f533c0c6a0353f809e3 SHA1 193c8177bce34309a777186f22202cfffa8f07a9 SHA256 df6f9bbb4bf77826c76a4a1a24762dc8bd8c19509e0cfab1b2d680c1c07fc1f9 -MD5 52474c8dc70af35907beb29a09318b1b gcc-sparc64-3.3.6.ebuild 3077 -RMD160 77c4ea057d20bb83e43f9f533c0c6a0353f809e3 gcc-sparc64-3.3.6.ebuild 3077 -SHA256 df6f9bbb4bf77826c76a4a1a24762dc8bd8c19509e0cfab1b2d680c1c07fc1f9 gcc-sparc64-3.3.6.ebuild 3077 -EBUILD gcc-sparc64-3.4.5.ebuild 3414 RMD160 94c8f6ae7961e1d603ab8f71e5de5276b0d2769d SHA1 c1731c2ac738fd66be989595e5e45e571368d4b3 SHA256 891dae8b95cff5a2ad4ec4c3566e4c8395feb41c587af6b5dcda033b8a26beb8 -MD5 ab36c4406feb4d49a2c9fcaf1370a21e gcc-sparc64-3.4.5.ebuild 3414 -RMD160 94c8f6ae7961e1d603ab8f71e5de5276b0d2769d gcc-sparc64-3.4.5.ebuild 3414 -SHA256 891dae8b95cff5a2ad4ec4c3566e4c8395feb41c587af6b5dcda033b8a26beb8 gcc-sparc64-3.4.5.ebuild 3414 EBUILD gcc-sparc64-3.4.6.ebuild 3414 RMD160 29d754ee44194b6f03262af5b2922e7ad6136ed6 SHA1 d7c7ef2ba43c397e9424934ae8400350f51c4a3c SHA256 1bc76d6d17c30e25d0458f28a4a15dde2b407cac425dafa70cb7879361c4b4d4 MD5 afe9d33c3a4abff3601245a4f512bc4b gcc-sparc64-3.4.6.ebuild 3414 RMD160 29d754ee44194b6f03262af5b2922e7ad6136ed6 gcc-sparc64-3.4.6.ebuild 3414 @@ -39,23 +16,14 @@ EBUILD gcc-sparc64-4.1.1.ebuild 3570 RMD160 b313b1129338ab1dfc48b31e561b198cdf56 MD5 dc437fa843eac88ed328dd8be04b04a0 gcc-sparc64-4.1.1.ebuild 3570 RMD160 b313b1129338ab1dfc48b31e561b198cdf56d7b9 gcc-sparc64-4.1.1.ebuild 3570 SHA256 edeb49de67cefeee624c44510a8f7c1d079d4aa9d1e883dc7cb26fa7cd7dab87 gcc-sparc64-4.1.1.ebuild 3570 -MISC ChangeLog 7160 RMD160 7ae3a6c6f3b75ad230add5b79072694b3eefb774 SHA1 a17e420377fd43710cc86ac58b7df4914b9fc997 SHA256 2962038ab9b7635a72393783aa11ac7009f97be4724999edd5a43ebc97165bfa -MD5 2b24837f7c5a23e92d71c9a837d8c71e ChangeLog 7160 -RMD160 7ae3a6c6f3b75ad230add5b79072694b3eefb774 ChangeLog 7160 -SHA256 2962038ab9b7635a72393783aa11ac7009f97be4724999edd5a43ebc97165bfa ChangeLog 7160 +MISC ChangeLog 7398 RMD160 c8898c1cdfd261d658a4cb7bb4c71b7b2f7b8835 SHA1 c9e98abe769e5892c196cb2bb83d32f9dd1dc9b5 SHA256 91332ec9ee77cfccf4f05f9d5da395e002043ac2f18e2bfe663b0d78a7702ebf +MD5 ba4e792f4af8cde11321a20f3855542c ChangeLog 7398 +RMD160 c8898c1cdfd261d658a4cb7bb4c71b7b2f7b8835 ChangeLog 7398 +SHA256 91332ec9ee77cfccf4f05f9d5da395e002043ac2f18e2bfe663b0d78a7702ebf ChangeLog 7398 MISC metadata.xml 360 RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 SHA1 649199c261f07bfc70ac0776df52e91d8c8739bf SHA256 8dd9b7b1c62cf1c0681c72ae0e8d50184c52702559b2999ae58f23d749316bd1 MD5 f826fcca414fc0c05030db1f99e479d8 metadata.xml 360 RMD160 3c5dec8cce9f56381af92725cf7a5a68924d7915 metadata.xml 360 SHA256 8dd9b7b1c62cf1c0681c72ae0e8d50184c52702559b2999ae58f23d749316bd1 metadata.xml 360 -MD5 b540173210bd54366913f4fad9b4177c files/digest-gcc-sparc64-3.3.5 238 -RMD160 0327edf876eafd7df1c1f04f872402f1dd1ea444 files/digest-gcc-sparc64-3.3.5 238 -SHA256 29a7e9e5ee6a56847e2aec07f3e909370917b6758e8f212ab939df6ec9a5ef3b files/digest-gcc-sparc64-3.3.5 238 -MD5 26d8346ec1e7c7409f128d03c8cda398 files/digest-gcc-sparc64-3.3.6 238 -RMD160 095c46dbd9b98385f72ef36785528bbd22511f89 files/digest-gcc-sparc64-3.3.6 238 -SHA256 d0497e354c64b49b77e2da91c1a51cb3323a651441f4f8a3b2507cdc7a7007fc files/digest-gcc-sparc64-3.3.6 238 -MD5 30fce0b5ce7788c37140089824712999 files/digest-gcc-sparc64-3.4.5 238 -RMD160 cec68ae1f10278e63f35e3dc809e5383b19b1a7b files/digest-gcc-sparc64-3.4.5 238 -SHA256 083f56ea3bbdb792eca0997ccfa044b2ba0e5a1c2d20aaaf7b0630dc430b71ec files/digest-gcc-sparc64-3.4.5 238 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 @@ -66,9 +34,9 @@ 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 (GNU/Linux) +Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) -iD8DBQFE4LVOyuNVb5qfaOYRAk0bAKCZGFJYh/b1JsBN3um67MainTf1kwCgyWN/ -UBBAJBGfjB6ZyIWzgnqJI2w= -=IQl+ +iD8DBQFFJYJQKRy60XGEcJIRAkGrAJ9tYHuW5JSL/GEn5X4xPKg0agDbKwCfS24s +8fGILKyTPSmYB+kbVzmVRMo= +=E39V -----END PGP SIGNATURE----- diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.5 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.5 deleted file mode 100644 index 2991f2cc36f7..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 70ee088b498741bb08c779f9617df3a5 gcc-3.3.5.tar.bz2 23833856 -RMD160 34adf1a6f7ea302e9937c1a06ccf362711e25c58 gcc-3.3.5.tar.bz2 23833856 -SHA256 4ae90c6948d2654a254116fabb0cc7e474abf51ea841e6ef5cd8e6c161a9fa74 gcc-3.3.5.tar.bz2 23833856 diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.6 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.6 deleted file mode 100644 index 79c36df90b0f..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.3.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 6936616a967da5a0b46f1e7424a06414 gcc-3.3.6.tar.bz2 23972413 -RMD160 b32c7a08c690857f0ac52dda3deb47cf5775d967 gcc-3.3.6.tar.bz2 23972413 -SHA256 1c1aa533c67e9da5e55ed4f5736258dc753466bd716bdae3fb88fb66e6ff1d7f gcc-3.3.6.tar.bz2 23972413 diff --git a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.5 b/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.5 deleted file mode 100644 index c527d0c6a70b..000000000000 --- a/sys-devel/gcc-sparc64/files/digest-gcc-sparc64-3.4.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 7c3c3c3e764dcee5eb771432062d69e1 gcc-3.4.5.tar.bz2 28254232 -RMD160 611ad033a76ada49d43529fc694142e856a039fa gcc-3.4.5.tar.bz2 28254232 -SHA256 be5738a94076052453894dd7d35b1efbb017bba1da0b28495d145f98fe018a09 gcc-3.4.5.tar.bz2 28254232 diff --git a/sys-devel/gcc-sparc64/files/gcc-3.3.5-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.3.5-gentoo-branding.patch deleted file mode 100644 index 509927a937bf..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.3.5-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.5"; -+const char version_string[] = "3.3.5 @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.6-gentoo-branding.patch b/sys-devel/gcc-sparc64/files/gcc-3.3.6-gentoo-branding.patch deleted file mode 100644 index c2177a3fc751..000000000000 --- a/sys-devel/gcc-sparc64/files/gcc-3.3.6-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.6"; -+const char version_string[] = "3.3.6 @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.3.5.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.3.5.ebuild deleted file mode 100644 index d446625d4ef1..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.5.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# 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-3.3.5.ebuild,v 1.11 2006/08/14 17:39:09 phreak 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" -# mirror://gentoo/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -IUSE="" - -KEYWORDS="sparc" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - || ( >=sys-devel/gcc-config-1.3.1 app-admin/eselect-compiler ) - !sys-devel/egcs64-sparc" - -RDEPEND="virtual/libc - || ( >=sys-devel/gcc-config-1.3.1 app-admin/eselect-compiler ) - >=sys-libs/zlib-1.1.4 - >=sys-apps/texinfo-4.2-r4 - >=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-sparc64/gcc-sparc64-3.3.6.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.3.6.ebuild deleted file mode 100644 index fd89074b9bc3..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.3.6.ebuild +++ /dev/null @@ -1,126 +0,0 @@ -# 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-3.3.6.ebuild,v 1.7 2006/08/14 17:39:09 phreak 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" -# mirror://gentoo/${TMP_P}-branch-update-${BRANCH_UPDATE}.patch.bz2" - -LICENSE="GPL-2 LGPL-2.1" -SLOT="0" -IUSE="" - -KEYWORDS="~sparc" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.14.90.0.7 - || ( >=sys-devel/gcc-config-1.3.1 app-admin/eselect-compiler ) - !sys-devel/egcs64-sparc" - -RDEPEND="virtual/libc - || ( >=sys-devel/gcc-config-1.3.1 app-admin/eselect-compiler ) - >=sys-libs/zlib-1.1.4 - >=sys-apps/texinfo-4.2-r4 - >=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-sparc64/gcc-sparc64-3.4.5.ebuild b/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild deleted file mode 100644 index 3700b012522b..000000000000 --- a/sys-devel/gcc-sparc64/gcc-sparc64-3.4.5.ebuild +++ /dev/null @@ -1,132 +0,0 @@ -# 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-3.4.5.ebuild,v 1.7 2006/08/14 17:39:09 phreak 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" -IUSE="" - -KEYWORDS="sparc" - -DEPEND="virtual/libc - >=sys-devel/binutils-2.16.1 - || ( >=sys-devel/gcc-config-1.3.12-r4 app-admin/eselect-compiler )" - -RDEPEND="virtual/libc - || ( >=sys-devel/gcc-config-1.3.12-r4 app-admin/eselect-compiler ) - >=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 \ - --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" \ - make 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 "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>" - einfo "Where <target> is one of the usual kernel targets" - einfo "" - epause 10 -} |