diff options
author | Mike Frysinger <vapier@gentoo.org> | 2005-07-07 23:01:41 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2005-07-07 23:01:41 +0000 |
commit | dc3ec90e77b2546feba164b4a97a6901cfa2ed86 (patch) | |
tree | 8a6e1d9ab9716342f4fea4b9b8e81079fbc36319 /sys-devel/gcc-config | |
parent | 062 release (diff) | |
download | historical-dc3ec90e77b2546feba164b4a97a6901cfa2ed86.tar.gz historical-dc3ec90e77b2546feba164b4a97a6901cfa2ed86.tar.bz2 historical-dc3ec90e77b2546feba164b4a97a6901cfa2ed86.zip |
old
Diffstat (limited to 'sys-devel/gcc-config')
-rw-r--r-- | sys-devel/gcc-config/files/digest-gcc-config-1.3.10-r2 | 0 | ||||
-rw-r--r-- | sys-devel/gcc-config/gcc-config-1.3.10-r2.ebuild | 48 |
2 files changed, 0 insertions, 48 deletions
diff --git a/sys-devel/gcc-config/files/digest-gcc-config-1.3.10-r2 b/sys-devel/gcc-config/files/digest-gcc-config-1.3.10-r2 deleted file mode 100644 index e69de29bb2d1..000000000000 --- a/sys-devel/gcc-config/files/digest-gcc-config-1.3.10-r2 +++ /dev/null diff --git a/sys-devel/gcc-config/gcc-config-1.3.10-r2.ebuild b/sys-devel/gcc-config/gcc-config-1.3.10-r2.ebuild deleted file mode 100644 index 047654a5a842..000000000000 --- a/sys-devel/gcc-config/gcc-config-1.3.10-r2.ebuild +++ /dev/null @@ -1,48 +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-config/gcc-config-1.3.10-r2.ebuild,v 1.7 2005/06/17 20:38:59 wolf31o2 Exp $ - -inherit toolchain-funcs - -# Version of .c wrapper to use -W_VER="1.4.6" - -DESCRIPTION="Utility to change the gcc compiler being used" -HOMEPAGE="http://www.gentoo.org/" -SRC_URI="" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 m68k mips ppc ppc64 s390 sh ~sparc x86" -IUSE="" - -DEPEND="virtual/libc" - -S=${WORKDIR} - -src_compile() { - $(tc-getCC) -O2 -Wall -o wrapper \ - ${FILESDIR}/wrapper-${W_VER}.c || die "compile wrapper" -} - -src_install() { - newbin ${FILESDIR}/${PN}-${PV} ${PN} || die "install gcc-config" - dosed "s:PORTAGE-VERSION:${PVR}:" /usr/bin/${PN} - - exeinto /usr/lib/misc - newexe wrapper gcc-config || die "install wrapper" -} - -pkg_postinst() { - # Do we have a valid multi ver setup ? - if gcc-config --get-current-profile &>/dev/null ; then - # We not longer use the /usr/include/g++-v3 hacks, as - # it is not needed ... - [[ -L ${ROOT}/usr/include/g++ ]] && rm -f "${ROOT}"/usr/include/g++ - [[ -L ${ROOT}/usr/include/g++-v3 ]] && rm -f "${ROOT}"/usr/include/g++-v3 - [[ ${ROOT} = "/" ]] && gcc-config $(/usr/bin/gcc-config --get-current-profile) - fi - - # Make sure old versions dont exist #79062 - rm -f "${ROOT}"/usr/sbin/gcc-config -} |