summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <msterret@gentoo.org>2003-09-05 02:03:59 +0000
committerMichael Sterrett <msterret@gentoo.org>2003-09-05 02:03:59 +0000
commitab34bd0c03a91a3ff9df58a8adbdb7f04f112109 (patch)
tree2dfcf80d45dfae57f217b4b8c5938976002e7894 /sys-devel/gcc/gcc-3.3.ebuild
parentNew revision with experimental gtk2 support. should be kept hard masked for a... (diff)
downloadgentoo-2-ab34bd0c03a91a3ff9df58a8adbdb7f04f112109.tar.gz
gentoo-2-ab34bd0c03a91a3ff9df58a8adbdb7f04f112109.tar.bz2
gentoo-2-ab34bd0c03a91a3ff9df58a8adbdb7f04f112109.zip
whitespace cleanup
Diffstat (limited to 'sys-devel/gcc/gcc-3.3.ebuild')
-rw-r--r--sys-devel/gcc/gcc-3.3.ebuild26
1 files changed, 13 insertions, 13 deletions
diff --git a/sys-devel/gcc/gcc-3.3.ebuild b/sys-devel/gcc/gcc-3.3.ebuild
index 7ba2b1a2537f..31b29beba155 100644
--- a/sys-devel/gcc/gcc-3.3.ebuild
+++ b/sys-devel/gcc/gcc-3.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.ebuild,v 1.9 2003/08/24 17:30:07 azarah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-3.3.ebuild,v 1.10 2003/09/05 02:01:10 msterret Exp $
IUSE="static nls bootstrap java build X"
@@ -69,7 +69,7 @@ if [ -z "${SNAPSHOT}" ]
then
S="${WORKDIR}/${PN}-${MAIN_BRANCH}"
SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${P}/${PN}-${MAIN_BRANCH}.tar.bz2"
-
+
if [ -n "${PATCH_VER}" ]
then
SRC_URI="${SRC_URI}
@@ -120,7 +120,7 @@ DEPEND="virtual/glibc
>=sys-devel/gcc-config-1.3.1
!build? ( >=sys-libs/ncurses-5.2-r2
nls? ( sys-devel/gettext ) )"
-
+
RDEPEND="virtual/glibc
>=sys-devel/gcc-config-1.3.1
>=sys-libs/zlib-1.1.4
@@ -164,7 +164,7 @@ src_unpack() {
if [ -z "${SNAPSHOT}" ]
then
unpack ${PN}-${MAIN_BRANCH}.tar.bz2
-
+
if [ -n "${PATCH_VER}" ]
then
unpack ${P}-patches-${PATCH_VER}.tar.bz2
@@ -220,7 +220,7 @@ src_unpack() {
# Patches from Mandrake/Suse ...
epatch ${FILESDIR}/3.2.3/gcc32-mklibgcc-serialize-crtfiles.patch
-
+
# Get gcc to decreases the number of times the collector has to be run
# by increasing its memory workspace, bug #16548.
#
@@ -251,7 +251,7 @@ src_compile() {
local myconf=
local gcc_lang=
-
+
if [ -z "`use build`" ]
then
myconf="${myconf} --enable-shared"
@@ -323,7 +323,7 @@ src_compile() {
# Do not make manpages if we do not have perl ...
if [ ! -x /usr/bin/perl ]
- then
+ then
find ${S} -name '*.[17]' -exec touch {} \; || :
fi
@@ -376,7 +376,7 @@ src_install() {
DESTDIR="${D}" \
LIBPATH="${LIBPATH}" \
install || die
-
+
[ -r ${D}${BINPATH}/gcc ] || die "gcc not found in ${D}"
dodir /lib /usr/bin
@@ -390,7 +390,7 @@ src_install() {
# Also set CC and CXX
echo "CC=\"gcc\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${MY_PV_FULL}
echo "CXX=\"g++\"" >> ${D}/etc/env.d/gcc/${CCHOST}-${MY_PV_FULL}
-
+
# Make sure we dont have stuff lying around that
# can nuke multiple versions of gcc
@@ -506,7 +506,7 @@ src_install() {
dohtml -r -a css,diff,html,txt,xml docs/html/*
cp -f docs/html/17_intro/[A-Z]* \
${D}/usr/share/doc/${PF}/${DOCDESTTREE}/17_intro/
-
+
if [ -n "`use java`" ]
then
cd ${S}/fastjar
@@ -561,7 +561,7 @@ pkg_postinst() {
# Update libtool linker scripts to reference new gcc version ...
if [ "${ROOT}" = "/" ] && \
[ -f "${WORKDIR}/.oldgccversion" -o -f "${WORKDIR}/.oldgccchost" ]
- then
+ then
local OLD_GCC_VERSION=
local OLD_GCC_CHOST=
@@ -572,7 +572,7 @@ pkg_postinst() {
else
OLD_GCC_VERSION="${MY_PV_FULL}"
fi
-
+
if [ -f "${WORKDIR}/.oldgccchost" ] && \
[ -n "$(cat "${WORKDIR}/.oldgccchost")" ]
then
@@ -581,7 +581,7 @@ pkg_postinst() {
/sbin/fix_libtool_files.sh ${OLD_GCC_VERSION} ${OLD_GCC_CHOST}
fi
-
+
# Fix ncurses b0rking (if r5 isn't unmerged)
find ${ROOT}/usr/lib/gcc-lib -name '*curses.h' -exec rm -f {} \;