From 17328b803703ddaa0be2d40833bf1fe653a5b071 Mon Sep 17 00:00:00 2001 From: Martin Schlemmer Date: Sat, 29 Jun 2002 17:51:02 +0000 Subject: small fixes from gcc-3.x that will not affect anything major --- sys-devel/gcc/gcc-2.95.3-r7.ebuild | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'sys-devel') diff --git a/sys-devel/gcc/gcc-2.95.3-r7.ebuild b/sys-devel/gcc/gcc-2.95.3-r7.ebuild index 7331d774c954..57173ec99846 100644 --- a/sys-devel/gcc/gcc-2.95.3-r7.ebuild +++ b/sys-devel/gcc/gcc-2.95.3-r7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2002 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r7.ebuild,v 1.1 2002/06/29 17:44:07 azarah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-2.95.3-r7.ebuild,v 1.2 2002/06/29 17:51:02 azarah Exp $ TV=4.0 SRC_URI="ftp://gcc.gnu.org/pub/gcc/releases/${P}/${P}.tar.gz" @@ -11,6 +11,7 @@ S=${WORKDIR}/${P} LOC=/usr DESCRIPTION="Modern GCC C/C++ compiler and an included, upgraded version of texinfo to boot" HOMEPAGE="http://www.gnu.org/software/gcc/gcc.html" +SLOT="0" DEPEND="virtual/glibc" RDEPEND="virtual/glibc" @@ -186,3 +187,14 @@ pkg_preinst() { fi } +pkg_postrm() { + if [ ! -L ${ROOT}/lib/cpp ] + then + ln -sf /usr/bin/cpp ${ROOT}/lib/cpp + fi + if [ ! -L ${ROOT}/usr/bin/cc ] + then + ln -sf gcc ${ROOT}/usr/bin/cc + fi +} + -- cgit v1.2.3-65-gdbad