summaryrefslogtreecommitdiff
path: root/sys-devel/gcc-config/gcc-config-1.5-r1.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2016-11-06 12:29:18 +0000
committerV3n3RiX <venerix@rogentos.ro>2016-11-06 12:29:18 +0000
commit28d975103eb6adb2994212b206e8ef0337f7c354 (patch)
treed2f8f11632cbf241f5cd53eabc6c7a98b191f042 /sys-devel/gcc-config/gcc-config-1.5-r1.ebuild
parent95b28d961ba41aa379c10fbc04a319f0a68b0f63 (diff)
drop deprecated base-gcc patch from gcc-config, drop unused ebuilds
Diffstat (limited to 'sys-devel/gcc-config/gcc-config-1.5-r1.ebuild')
-rw-r--r--sys-devel/gcc-config/gcc-config-1.5-r1.ebuild61
1 files changed, 0 insertions, 61 deletions
diff --git a/sys-devel/gcc-config/gcc-config-1.5-r1.ebuild b/sys-devel/gcc-config/gcc-config-1.5-r1.ebuild
deleted file mode 100644
index 78e5571f..00000000
--- a/sys-devel/gcc-config/gcc-config-1.5-r1.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 1999-2011 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.5-r1.ebuild,v 1.3 2011/11/11 12:15:40 aballier Exp $
-
-inherit flag-o-matic toolchain-funcs multilib
-
-# Version of .c wrapper to use
-W_VER="1.5.2"
-
-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 -sparc-fbsd -x86-fbsd"
-IUSE=""
-
-RDEPEND="!app-admin/eselect-compiler"
-
-S=${WORKDIR}
-
-src_unpack() {
- cp "${FILESDIR}"/wrapper-${W_VER}.c "${S}"/wrapper.c || die
-}
-
-src_compile() {
- strip-flags
- emake CC="$(tc-getCC)" wrapper || die "compile wrapper"
-}
-
-src_install() {
- newbin "${FILESDIR}"/${PN}-${PV} ${PN} || die "install gcc-config"
- sed -i \
- -e "s:@GENTOO_LIBDIR@:$(get_libdir):g" \
- "${D}"/usr/bin/${PN}
-
- exeinto /usr/$(get_libdir)/misc
- newexe wrapper gcc-config || die "install wrapper"
-}
-
-pkg_postinst() {
- # Scrub eselect-compiler remains
- if [[ -e ${ROOT}/etc/env.d/05compiler ]] ; then
- rm -f "${ROOT}"/etc/env.d/05compiler
- fi
-
- # Make sure old versions dont exist #79062
- rm -f "${ROOT}"/usr/sbin/gcc-config
-
- # 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
-
- # Do we have a valid multi ver setup ?
- local x
- for x in $(gcc-config -C -l 2>/dev/null | awk '$NF == "*" { print $2 }') ; do
- gcc-config ${x}
- done
-}