summaryrefslogtreecommitdiff
path: root/sys-devel/icecream
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
committerV3n3RiX <venerix@redcorelinux.org>2020-09-16 09:32:48 +0100
commit9ee6d97c2883d42f204a533a8bc1f4562df778fb (patch)
treeb690ddc0ca30f1472887edbb0b8313629bfcbbb2 /sys-devel/icecream
parentb17a3ef12038de50228bade1f05502c74e135321 (diff)
gentoo resync : 16.09.2020
Diffstat (limited to 'sys-devel/icecream')
-rw-r--r--sys-devel/icecream/Manifest12
-rw-r--r--sys-devel/icecream/files/0.9.6-crosscompile.patch12
-rw-r--r--sys-devel/icecream/files/0.9.6-symlinks.patch19
-rw-r--r--sys-devel/icecream/files/0.9.7-automake.patch32
-rw-r--r--sys-devel/icecream/files/0.9.7-glibc2.16.patch16
-rw-r--r--sys-devel/icecream/files/icecream43
-rw-r--r--sys-devel/icecream/files/icecream-conf.d-verbosity.patch18
-rw-r--r--sys-devel/icecream/files/icecream-config69
-rw-r--r--sys-devel/icecream/files/icecream-create-env82
-rw-r--r--sys-devel/icecream/files/icecream-gentoo-multilib.patch59
-rw-r--r--sys-devel/icecream/icecream-0.9.7-r1.ebuild86
-rw-r--r--sys-devel/icecream/icecream-1.0.0-r1.ebuild51
12 files changed, 0 insertions, 499 deletions
diff --git a/sys-devel/icecream/Manifest b/sys-devel/icecream/Manifest
index 0c53e33e6554..b12065900556 100644
--- a/sys-devel/icecream/Manifest
+++ b/sys-devel/icecream/Manifest
@@ -1,17 +1,5 @@
-AUX 0.9.6-crosscompile.patch 471 BLAKE2B 90899b69159ff6b6b756134c539beaa02419ab7faac74604084d4e139c369b300638995d4887c0a7878f0c33d3d1f8f9e3cd5d2faed25e7e3019be121cad290d SHA512 5c33cd6a1aae9b628e6308a4438355298ee0b4217d8561aaee9960c816aa336aa62eb2e5844f8cf756bbf3731fda4c07ac4c1bf30b2ef93c45205dcfbe8a7ae4
-AUX 0.9.6-symlinks.patch 614 BLAKE2B 430002f6a2607eabd3cb9081a0c50bf6bd86b7af96992efcfd323cd8fb0c1be02ad984c08c16887ba6496d0994f4d7f58c001817772e4c443c4c7f2ab9636921 SHA512 739a683cb9142fb2ee52ec73194de03dac8815103fbd7a102cebabefd649c8ddfe6121649727de2785a525493a5f244352aa5a18796361014e6fe6fcbfe92321
-AUX 0.9.7-automake.patch 1085 BLAKE2B 6e943d29cceb34ab79a2465824b80eb1d676c889064656db406efa74d1399f5f08cb9a0d2a2493d9f755880f2dc1c27cd97183d2dcc508164d2a818a74610cc4 SHA512 2a2b8a03d10783a56484ec7b97cec0bf8f6853fc9c1e8d558297f7d1d0060d3e53410d9b6c77bd00359e249817fd6f0d854773850a1983b19417cee140ec17e3
-AUX 0.9.7-glibc2.16.patch 342 BLAKE2B 666bd71a585e4ae2e5ec00a5a17c7d6e5242423c975befb8d5020e62b2efc9add940188ba5e64d05894011946cefb0b77acf73fd70e9206e0c1d315046368b34 SHA512 3c3f0cbc15637d6f46ea4b7a7036a74a8ad46ab42f2ccfdda1638e0fa5cfc16e382ebefeb5294f937a34285c63d205f86b91ef0650a2ccaa8c5253f35ee1cecd
-AUX icecream 1614 BLAKE2B 9d6d87da98ac99da134561786d92ed1cb48827d3711e5eba70db5c2a44e4add15be9713c570aa9877ba06b8035eac290de9b2277ad9cc76d9255e25c8aec631d SHA512 670367aeab3a3e30c3f9c136b8965955db77e9b8555cffb3aba8872966553e955172bf2e47593ef661e8f7b8f2caa0db71750d978c2764fd72d458d6524f7fda
AUX icecream-1.0.0-libcap-ng.patch 195 BLAKE2B b6ff2376e02cfd0a1b486c53d5be1012223d16794c718a9aa64dcb89f720884c6a5d01656d99ea69cc44de2ad34731b744a9558702294189d01d01d0d330595f SHA512 31f69f07ad55465103587239249d2fd173dc3b920a026c7754635a3ada39696c1ccccbe636ced0ca2a2283b4adb8f23083a32586c2e803c1f18ad4afd3cc8746
-AUX icecream-conf.d-verbosity.patch 364 BLAKE2B 7cded0a8be1976593574462e38c6b560487d28cdef883f08b386e5a573ac76626e4842dac0c3205cedc922d44c3dad869f8a8287f21e8beca533a5cadadc0716 SHA512 607b8eb2e50bf77fcf5f31757dd44fda9bc2c98241239d1e23bf17228e68e32a391e22d0b859ad725c176f21580a0a92931644c5b3ecfd23d844719f035d38eb
-AUX icecream-config 1692 BLAKE2B 1e0bb07bf81ace9ea1f480092ca848dc8df34a393c73e61958c35e14229d66fa0f005dca0933b8e1b0d2697e225693096a232e19f8979d9bd6f9606c70f9baf2 SHA512 9bba4e6ebabfc5c2b6d205fdf53e08ce1c29801da6a69534d5c3c221ce1ff7d8575d56bd451254ee9d30d27b6a95d00fd64e3a5cb1129c72583193a27a7fef70
-AUX icecream-create-env 2137 BLAKE2B ed4c8f700534e25672297ffbcc1527ed7e9e97363caac3eb09f94a033dc91ef89a20b251ce1b063c0b5e13bf318ee6cf7f596f044790847aada70c2b5aa5bddf SHA512 0de4ca5a865eea62fe6aaa70982bb75c0c78490491f6a713fab1c5be6fe0a67492efcb836f6e97914a8252665d9c5e7a9c7d01f8805af0bd4108dbaabbc0eb32
-AUX icecream-gentoo-multilib.patch 1579 BLAKE2B 60603edb7e3809648d99e8c8307d2b5fbd545ef8301179cde1d3a07d653546b98bd6b82666a9733d61a28b562deac5144e29584a6229b64281e780dcdec66956 SHA512 24a9de13691e39e96c32db5722e7a6979a7a233335bf37fc42f5cf8d8b67d111d26fcf68d5fc20acc4aacee0d1e7cc88ff04ee36a127efc45f3bffe269e7c253
AUX icecream-r2 1733 BLAKE2B dbd919701df670e7cd1b47cb39fa55eb18c6e539ffa637e2a505ee60b15bb9febd54237b57f42214769e273f5a5fd29cfcc9e29a0a941807388fd9cc7d133226 SHA512 033ce0d49445db3afcbdd6724863651d4951b8f36f6253a13854abe9ee976419687579089aa1c5c808eed08aad357e34bb9f1e70570857cc39f2515ac2f211b0
-DIST icecc-0.9.7.tar.bz2 379527 BLAKE2B 547bc2e534192a6628c261f4d7244eff31bea438cc0273b06c69ef188ffedebaebb028fa2433c5549c52d99ecd0c530a1040db392d8f34537023be9ebdca465e SHA512 023a77d6df33af9837a87218272dc61d68f3782ad59dc8783ec3ca47cbb38619dbcaa25ac7e6654c6cacbd79477c3403b0a73aca595c6fe20aa9a39268f4f2e2
DIST icecc-1.0.0.tar.bz2 485534 BLAKE2B 31a978a4a461f20716a95277426e79d4c298c212d36361dbbd68c5affcbbbe2f0c71f743cc7b731d86fbb5f09ab556182482f56e1382be8572d019f80a004fc8 SHA512 4292ecef6232112c3f4531cb2290a55f70c5c24095fef0865af2526d49fc10a043ffb06d22552e161f671c18ff1ab62795c3a63e2c8cb26f869cf65d0938af2a
-EBUILD icecream-0.9.7-r1.ebuild 2690 BLAKE2B 33066b670b761f62311f9c77d87752a0b4cbd0f7728c4f5660b3d14bcf918b7b048867e291fbc4394af13f59741a74aea89278016c45acca28299a94f4b0be6d SHA512 dbb33736b75924eec4c6949650deaf43d7ca4fb71634a06cac426d83935d84afaa7b454ebcb1f0cfd8d7f9ce3a9b738a9211b80e5f3696d5588cfc5b94db8718
-EBUILD icecream-1.0.0-r1.ebuild 1004 BLAKE2B ac7b15d6452c08bf1bffbe4bae2aa3a6f36d834894655e52491f4bb62906a1b5d90ae5b6a18acd02c9157c80502971cfb3a9683098a05d2d3d919cdf69463f9f SHA512 6040df5c1fb949f32ede1123c22e92eb34a4456aedcb41276b9113f2c8962e6778b32a57663428f976a22d486c51469ef3d6a956b02831440b1297166418be9e
EBUILD icecream-1.0.0-r2.ebuild 1311 BLAKE2B e3f5978b1a91aa40e9a0c6ca36313195615abdd81944a05cfca90cd2d368455d5ca5f744f003ce0415f5054236c5155e01bc1a12ebe13ae207c0781de42808e6 SHA512 4918feba78ed446500f249cb1efbb3321519cb47842b0d0125e7a43c507d212e3fd0bdef89f01ad232971ece70e91f60f4aacc1a56a00c19c87cbdefee848d68
MISC metadata.xml 336 BLAKE2B 8afb6d3c4afba1360088774c52191105de43349ce50f7cf011849546f0b546bd458c4c22fb6114226bcf095e54c87edd5cabe23c9fea3b99e56fbb981c350029 SHA512 04906e11a26061264e31910f7055cc5a3cd8ac1ce0f2bc7529b191adfc167c891285d6a86415fd3ec4c447c25111c43910f7611bd6ad0af58b30427a03b405de
diff --git a/sys-devel/icecream/files/0.9.6-crosscompile.patch b/sys-devel/icecream/files/0.9.6-crosscompile.patch
deleted file mode 100644
index 990072bbb8fd..000000000000
--- a/sys-devel/icecream/files/0.9.6-crosscompile.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -urN icecc-0.9.6.old//client/icecc-create-env icecc-0.9.6//client/icecc-create-env
---- icecc-0.9.6.old//client/icecc-create-env 2010-09-18 12:10:08.143391700 +0200
-+++ icecc-0.9.6//client/icecc-create-env 2010-09-18 12:10:46.574391700 +0200
-@@ -97,7 +97,7 @@
-
- add_file $added_gcc /usr/bin/gcc
- add_file $added_gxx /usr/bin/g++
--add_file /usr/bin/as
-+add_file `$added_gcc -print-prog-name=as` /usr/bin/as
-
- if test "$is_darwin" = 1; then
- # add dynamic linker
diff --git a/sys-devel/icecream/files/0.9.6-symlinks.patch b/sys-devel/icecream/files/0.9.6-symlinks.patch
deleted file mode 100644
index 279ee0cc0f99..000000000000
--- a/sys-devel/icecream/files/0.9.6-symlinks.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff -urN icecc-0.9.6//client/Makefile.am icecc-0.9.6.new//client/Makefile.am
---- icecc-0.9.6//client/Makefile.am 2010-09-11 13:43:53.922000148 +0200
-+++ icecc-0.9.6.new//client/Makefile.am 2010-09-11 13:44:39.950000148 +0200
-@@ -7,15 +7,3 @@
- noinst_HEADERS = client.h md5.h util.h
-
- EXTRA_DIST = icecc-create-env
--
--install-exec-local:
-- $(mkinstalldirs) $(DESTDIR)$(bindir)
-- for link in g++ gcc c++ cc icerun; do \
-- rm -f $(DESTDIR)$(bindir)/$$link ;\
-- $(LN_S) icecc $(DESTDIR)$(bindir)/$$link ;\
-- done
--
--uninstall-local:
-- for link in g++ gcc c++ cc; do \
-- rm $(DESTDIR)$(bindir)/$$link ;\
-- done
diff --git a/sys-devel/icecream/files/0.9.7-automake.patch b/sys-devel/icecream/files/0.9.7-automake.patch
deleted file mode 100644
index 6905a2a34158..000000000000
--- a/sys-devel/icecream/files/0.9.7-automake.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-Backport upstream patch to fix automake-1.12 issues
-
-https://bugs.gentoo.org/show_bug.cgi?id=397715
-https://bugs.gentoo.org/show_bug.cgi?id=399259
---- client/Makefile.am
-+++ client/Makefile.am
-@@ -1,10 +1,11 @@
- INCLUDES = -I$(srcdir)/../services
-
- bin_PROGRAMS = icecc
--pkglib_SCRIPTS = icecc-create-env
-+pkglibexec_SCRIPTS = icecc-create-env
- icecc_SOURCES = main.cpp arg.cpp cpp.cpp local.cpp remote.cpp util.cpp md5.c safeguard.cpp
- icecc_LDADD = ../services/libicecc.la $(LIBRSYNC)
- noinst_HEADERS = client.h md5.h util.h
-+AM_CPPFLAGS = -DPLIBDIR=\"$(pkglibexecdir)\"
-
- EXTRA_DIST = icecc-create-env
-
---- configure.in
-+++ configure.in
-@@ -246,10 +246,6 @@
- KDE_EXPAND_MAKEVAR(mybindir, bindir)
- AC_DEFINE_UNQUOTED(BINDIR, "$mybindir", [Where to look for icecc])
-
--myopkglibdir='${libdir}/'"$PACKAGE"
--KDE_EXPAND_MAKEVAR(mypkglibdir, myopkglibdir)
--AC_DEFINE_UNQUOTED(PLIBDIR, "$mypkglibdir", [Where to look for icecc-create-env])
--
- myorundir='${localstatedir}/run'
- KDE_EXPAND_MAKEVAR(myrundir, myorundir)
- AC_DEFINE_UNQUOTED(RUNDIR, "$myrundir", [Where to place pid files])
diff --git a/sys-devel/icecream/files/0.9.7-glibc2.16.patch b/sys-devel/icecream/files/0.9.7-glibc2.16.patch
deleted file mode 100644
index 7ccbd735a46f..000000000000
--- a/sys-devel/icecream/files/0.9.7-glibc2.16.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-Fix building with glibc-2.16
-
-https://bugs.gentoo.org/show_bug.cgi?id=425248
-
-Patch written by Kacper Kowalik <xarthisius@gentoo.org>
---- a/daemon/workit.cpp
-+++ b/daemon/workit.cpp
-@@ -26,6 +26,7 @@
- #include "exitcode.h"
- #include "logging.h"
- #include <sys/select.h>
-+#include <sys/resource.h>
- #include <algorithm>
-
- #ifdef __FreeBSD__
-
diff --git a/sys-devel/icecream/files/icecream b/sys-devel/icecream/files/icecream
deleted file mode 100644
index db24c4046c7b..000000000000
--- a/sys-devel/icecream/files/icecream
+++ /dev/null
@@ -1,43 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
- need net
-}
-
-start() {
- local basedir=${ICECREAM_BASEDIR:-"/var/cache/icecream"}
- local netname=${ICECREAM_NETNAME:+"-n ${ICECREAM_NETNAME}"}
- local logfile=${ICECREAM_LOG_FILE:+"-l ${ICECREAM_LOG_FILE}"}
- local nice=${ICECREAM_NICE_LEVEL:+"--nice ${ICECREAM_NICE_LEVEL}"}
- local scheduler=${ICECREAM_SCHEDULER_HOST:+"-s ${ICECREAM_SCHEDULER_HOST}"}
- local maxjobs=${ICECREAM_MAX_JOBS:+"-m ${ICECREAM_MAX_JOBS}"}
- local verbosity=${ICECREAM_VERBOSITY:-"-v"}
-
- if [[ "${ICECREAM_RUN_SCHEDULER}" == "yes" ]]; then
- local slogfile=${ICECREAM_SCHEDULER_LOG_FILE:-"/var/log/icecc_scheduler"}
- touch ${slogfile} && chown icecream:icecream ${slogfile}
- slogfile=${slogfile:+"-l ${slogfile}"}
- ebegin "Starting Distributed Compiler Scheduler"
- start-stop-daemon -u icecream --start --quiet --exec /usr/sbin/scheduler -- -d ${slogfile} ${netname} ${verbosity}
- eend ${?}
- fi
-
- [[ ! -d ${basedir} ]] && mkdir -p ${basedir} && chown icecream:icecream ${basedir}
- ebegin "Starting Distributed Compiler Daemon"
- start-stop-daemon --start --quiet --exec /usr/sbin/iceccd -- -d ${logfile} ${nice} ${scheduler} ${netname} -u icecream -b "${basedir}" ${maxjobs} ${verbosity}
- eend ${?}
-}
-
-stop() {
- ebegin "Stopping Distributed Compiler Daemon"
- start-stop-daemon --stop --quiet --name iceccd
- eend ${?}
-
- if [[ "${ICECREAM_RUN_SCHEDULER}" == "yes" ]]; then
- ebegin "Stopping Distributed Compiler Scheduler"
- start-stop-daemon --stop --quiet --name scheduler
- eend ${?}
- fi
-}
diff --git a/sys-devel/icecream/files/icecream-conf.d-verbosity.patch b/sys-devel/icecream/files/icecream-conf.d-verbosity.patch
deleted file mode 100644
index 1ee93c5741a2..000000000000
--- a/sys-devel/icecream/files/icecream-conf.d-verbosity.patch
+++ /dev/null
@@ -1,18 +0,0 @@
---- a/suse/sysconfig.icecream
-+++ b/suse/sysconfig.icecream
-@@ -39,6 +39,15 @@
- #
- ## Type: string
- ## Path: Applications/icecream
-+## Default: -v
-+#
-+# icecream's level of verbosity ([-v[v[v]]])
-+#
-+ICECREAM_VERBOSITY="-v"
-+
-+#
-+## Type: string
-+## Path: Applications/icecream
- ## Defaut: ""
- #
- # Identification for the network the scheduler and daemon run on.
diff --git a/sys-devel/icecream/files/icecream-config b/sys-devel/icecream/files/icecream-config
deleted file mode 100644
index 6ed24c743772..000000000000
--- a/sys-devel/icecream/files/icecream-config
+++ /dev/null
@@ -1,69 +0,0 @@
-#!/bin/sh
-#
-# icecream-config - helper script for icecream and its ebuild
-#
-# Copyright 2003-2010 Superlucidity Services, LLC
-# This program licensed under the GNU GPL version 2.
-#
-# This script developed by Zachary T Welch at Superlucidity Services, LLC
-# it was cloned from the distcc-config script to make ccache-config
-# and then modified by Marcus Furlong to configure icecream too.
-#
-# Additional features to come; this provides a starting point
-
-# this should be getopt'd someday (override with ICEC_QUIET=1)
-ICECC_VERBOSE=1
-
-icecc_echo() {
- [ -z "${ICECC_QUIET}" -a -n "${ICECC_VERBOSE}" ] && echo "$*"
-}
-
-###
-# the following functions manage the icecream symlinks
-# they allow the user or other scripts (namely gcc-config) to
-# automatically update icecream's links when upgrading toolchains
-#
-icecc_remove_link() {
- local t="/usr/lib/icecc/bin/${1}"
- if [ -L ${t} ]; then
- icecc_echo "Removing ${t}..."
- rm -f "${t}"
- fi
-}
-icecc_install_link() {
- # Search the PATH for the specified compiler
- # then create shadow link in /usr/lib/icecc/bin to icecc
-
- if [ -n "$(type -p ${1})" ]; then
- # first be sure any old link is removed
- ICECC_QUIET=1 icecc_remove_link "${1}"
-
- # then create the new link
- local t="/usr/lib/icecc/bin/${1}"
- icecc_echo "Creating icecream shadow link: ${t}..."
- ln -s /usr/bin/icecc "${t}"
- fi
-}
-icecc_links() {
- local a
- for a in gcc cc c++ g++ ; do
- [ -n "${2}" ] && a="${2}-${a}"
- eval "icecc_${1}_link" "${a}"
- done
-}
-
-###
-# main routine
-
-case "${1}" in
- --install-links )
- icecc_links install "${2}"
- ;;
- --remove-links )
- icecc_links remove "${2}"
- ;;
- * )
- echo "usage: ${0} {--install-links|--remove-links} [ CHOST ]"
- ;;
-esac
-
diff --git a/sys-devel/icecream/files/icecream-create-env b/sys-devel/icecream/files/icecream-create-env
deleted file mode 100644
index dafdc13b4331..000000000000
--- a/sys-devel/icecream/files/icecream-create-env
+++ /dev/null
@@ -1,82 +0,0 @@
-#!/bin/sh
-#
-# icecream-create-env - helper script to create icecc environments(mostly for cross-compiling)
-#
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-#
-# Please note, this script has been designed to work with Gentoo's crossdev, it may or may
-# not work with cross-toolchains that were build differently.
-#
-#
-# Usage: "./icecream-create-env" creates a native environment(similar to icecc --build-native)
-# "./icecream-create-env prefix" creates a cross-compile environment using the cross-toolchain created by crossdev
-# Example:
-# "emerge crossdev && crossdev -t sparc-unknown-linux-gnu && icecream-create-env sparc-unknown-linux"
-
-if [ `id -u` -ne 0 ]
-then
- echo "Only the superuser can execute this script."
- exit 1
-fi
-
-# param 1 = CHOST
-prefix="${1}"
-
-if [ -z "${prefix}" ]
-then
- prefix="`gcc -dumpmachine`"
-fi
-
-gccbin=`which ${prefix}-gcc 2>/dev/null`
-if [ ! -e "${gccbin}" ]
-then
- echo "Can't find ${prefix}-gcc!"
- exit 1
-fi
-
-gxxbin=`which ${prefix}-g++ 2>/dev/null`
-if [ ! -e "${gxxbin}" ]
-then
- echo "Can't find ${prefix}-g++!"
- exit 2
-fi
-
-version="`${prefix}-gcc -dumpversion`"
-
-tmpdir=`mktemp -d`
-tmpfile=`mktemp`
-
-target=`gcc -dumpmachine`
-if [ "x${target}" = "x${prefix}" ]
-then
- /usr/libexec/icecc/icecc-create-env \
- /usr/${prefix}/gcc-bin/${version}/gcc \
- /usr/${prefix}/gcc-bin/${version}/g++ \
- | tee ${tmpfile}
-else
- /usr/libexec/icecc/icecc-create-env \
- /usr/${target}/${prefix}/gcc-bin/${version}/${prefix}-gcc \
- /usr/${target}/${prefix}/gcc-bin/${version}/${prefix}-g++ \
- | tee ${tmpfile}
-fi
-
-# figure out the name of the archive
-icecc_envname=`grep "creating" ${tmpfile} | awk '{print $2}'`
-
-echo "Testing icecc environment..."
-tar -x -z -f ${icecc_envname} -C ${tmpdir}
-touch ${tmpdir}/empty.c
-chroot ${tmpdir}/ /usr/bin/gcc -c /empty.c
-tested=${?}
-rm ${tmpdir}/empty.c
-
-if [ "${tested}" -ne 0 ]
-then
- echo ""
- echo "Creating icecc environment failed. Please see error message(s) above! The temporary directory is: ${tmpdir}/"
-else
- echo ""
- echo "Icecc environment has been created. It has been saved as ${icecc_envname}!"
-fi
-
diff --git a/sys-devel/icecream/files/icecream-gentoo-multilib.patch b/sys-devel/icecream/files/icecream-gentoo-multilib.patch
deleted file mode 100644
index 94c6a41b3af6..000000000000
--- a/sys-devel/icecream/files/icecream-gentoo-multilib.patch
+++ /dev/null
@@ -1,59 +0,0 @@
-Index: services/job.h
-===================================================================
---- services/job.h (revision 843731)
-+++ services/job.h (working copy)
-@@ -57,6 +57,10 @@
-
- unsigned int argumentFlags() const;
-
-+ const ArgumentsList getFlags() {
-+ return m_flags;
-+ }
-+
- void setFlags( const ArgumentsList &flags ) {
- m_flags = flags;
- }
-Index: client/main.cpp
-===================================================================
---- client/main.cpp (revision 843731)
-+++ client/main.cpp (working copy)
-@@ -218,6 +218,39 @@
-
- local |= analyse_argv( argv, job );
-
-+ /* honour Gentoo's ${CFLAGS_${ABI}} environment variable */
-+ if (getenv("ABI") != NULL) {
-+ char* envar = (char*) malloc(sizeof(char) *
-+ (strlen("CFLAGS_") + strlen(getenv("ABI")) + 1));
-+
-+ if (!envar)
-+ return 1;
-+
-+ /* We use CFLAGS_${ABI} for gcc, g++, g77, etc as they are
-+ * the same no matter which compiler we are using.
-+ */
-+ sprintf(envar, "CFLAGS_%s", getenv("ABI"));
-+
-+ if (getenv(envar)) {
-+ ArgumentsList args = job.getFlags();
-+
-+ char* pch = strtok(getenv(envar)," \t");
-+ while (pch != NULL) {
-+ #if CLIENT_DEBUG
-+ log_info() << "adding CFLAG '" << pch << "' as specified in environment variable ${CFLAGS_${ABI}}" << endl;
-+ #endif
-+ args.append(pch, Arg_Remote);
-+ pch = strtok(NULL, " \t");
-+ }
-+
-+ job.setFlags(args);
-+
-+ free(pch);
-+ }
-+
-+ free(envar);
-+ }
-+
- /* if ICECC is set to no, then run job locally */
- char* icecc = getenv("ICECC");
- if ( icecc && !strcasecmp(icecc, "no") )
diff --git a/sys-devel/icecream/icecream-0.9.7-r1.ebuild b/sys-devel/icecream/icecream-0.9.7-r1.ebuild
deleted file mode 100644
index 1c43a464442e..000000000000
--- a/sys-devel/icecream/icecream-0.9.7-r1.ebuild
+++ /dev/null
@@ -1,86 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit autotools base user
-
-MY_P=icecc-${PV}
-
-DESCRIPTION="Distributed compiling of C(++) code across several machines; based on distcc"
-HOMEPAGE="http://en.opensuse.org/Icecream"
-SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-IUSE=""
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
- "${FILESDIR}/0.9.6-symlinks.patch"
- "${FILESDIR}/0.9.6-crosscompile.patch"
- "${FILESDIR}/${PV}-automake.patch"
- "${FILESDIR}/${PV}-glibc2.16.patch"
- "${FILESDIR}/${PN}-conf.d-verbosity.patch"
- "${FILESDIR}/${PN}-gentoo-multilib.patch"
-)
-
-pkg_setup() {
- enewgroup icecream
- enewuser icecream -1 -1 /var/cache/icecream icecream
-}
-
-src_prepare() {
- base_src_prepare
- sed -i -e "s/Defaut/Default/g" suse/sysconfig.icecream || die #275761
- eautoreconf
-}
-
-src_install() {
- default
-
- dosbin "${FILESDIR}"/icecream-config
- dosbin "${FILESDIR}"/icecream-create-env
-
- newconfd suse/sysconfig.icecream icecream
- doinitd "${FILESDIR}"/icecream
-
- diropts -m0755
- keepdir /usr/lib/icecc/bin
-}
-
-pkg_postinst() {
- ebegin "Scanning for compiler front-ends..."
- /usr/sbin/icecream-config --install-links
- /usr/sbin/icecream-config --install-links "${CHOST}"
- eend ${?}
-
- elog
- elog "If you have compiled binutils/gcc/glibc with processor-specific flags"
- elog "(as normal using Gentoo), there is a greater chance that your compiler"
- elog "won't work on other machines. The best would be to build gcc, glibc and"
- elog "binutils without those flags and then copy the needed files into your"
- elog "tarball for distribution to other machines. This tarball can be created"
- elog "by running /usr/bin/icecc --build-native, and used by setting"
- elog "ICECC_VERSION in /etc/conf.d/icecream"
- elog ' ICECC_VERSION=<filename_of_archive_containing_your_environment>'
- elog
- elog "To use icecream with portage add the following line to /etc/portage/make.conf"
- elog ' PREROOTPATH=/usr/lib/icecc/bin'
- elog
- elog "To use icecream with normal make use (e.g. in /etc/profile)"
- elog ' PATH=/usr/lib/icecc/bin:$PATH'
- elog
- elog "N.B. To use icecream with ccache, the ccache PATH should come first:"
- elog ' PATH=/usr/lib/ccache/bin:/usr/lib/icecc/bin:$PATH'
- elog
- elog "Don't forget to open the following ports in your firewall(s):"
- elog " TCP/10245 on the daemon computers (required)"
- elog " TCP/8765 for the the scheduler computer (required)"
- elog " TCP/8766 for the telnet interface to the scheduler (optional)"
- elog " UDP/8765 for broadcast to find the scheduler (optional)"
- elog
- elog "Further usage instructions: ${HOMEPAGE}"
-}
diff --git a/sys-devel/icecream/icecream-1.0.0-r1.ebuild b/sys-devel/icecream/icecream-1.0.0-r1.ebuild
deleted file mode 100644
index ab7e41ef9c26..000000000000
--- a/sys-devel/icecream/icecream-1.0.0-r1.ebuild
+++ /dev/null
@@ -1,51 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-MY_P="${P/icecream/icecc}"
-
-inherit base eutils ltprune user
-
-DESCRIPTION="Distributed compiling of C(++) code across several machines; based on distcc"
-HOMEPAGE="https://github.com/icecc/icecream"
-SRC_URI="ftp://ftp.suse.com/pub/projects/${PN}/${MY_P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
-IUSE=""
-
-RDEPEND="
- sys-libs/libcap-ng
-"
-DEPEND="${RDEPEND}"
-
-S="${WORKDIR}/${MY_P}"
-
-PATCHES=(
- "${FILESDIR}/${P}-libcap-ng.patch"
-)
-
-pkg_setup() {
- enewgroup icecream
- enewuser icecream -1 -1 /var/cache/icecream icecream
-}
-
-src_configure() {
- econf \
- --enable-shared --disable-static \
- --enable-clang-wrappers \
- --enable-clang-rewrite-includes
-}
-
-src_install() {
- default
- prune_libtool_files --all
-
- newconfd suse/sysconfig.icecream icecream
- newinitd "${FILESDIR}"/icecream-r2 icecream
-
- insinto /etc/logrotate.d
- newins suse/logrotate icecream
-}