1 |
--- |
2 |
sys-devel/icecream/icecream-1.0.0-r2.ebuild | 11 +++++++++++ |
3 |
1 file changed, 11 insertions(+) |
4 |
|
5 |
diff --git a/sys-devel/icecream/icecream-1.0.0-r2.ebuild b/sys-devel/icecream/icecream-1.0.0-r2.ebuild |
6 |
index 187928a2290d..11a57f81722e 100644 |
7 |
--- a/sys-devel/icecream/icecream-1.0.0-r2.ebuild |
8 |
+++ b/sys-devel/icecream/icecream-1.0.0-r2.ebuild |
9 |
@@ -17,6 +17,7 @@ KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86" |
10 |
IUSE="" |
11 |
|
12 |
RDEPEND=" |
13 |
+ dev-util/shadowman |
14 |
sys-libs/libcap-ng |
15 |
" |
16 |
DEPEND="${RDEPEND}" |
17 |
@@ -52,3 +53,13 @@ src_install() { |
18 |
insinto /usr/share/shadowman/tools |
19 |
newins - icecc <<<'/usr/libexec/icecc/bin' |
20 |
} |
21 |
+ |
22 |
+pkg_prerm() { |
23 |
+ if [[ -z ${REPLACED_BY_VERSION} ]]; then |
24 |
+ eselect compiler-shadow remove icecc |
25 |
+ fi |
26 |
+} |
27 |
+ |
28 |
+pkg_postinst() { |
29 |
+ eselect compiler-shadow update icecc |
30 |
+} |
31 |
-- |
32 |
2.14.1 |