1 |
commit: 5e2c06613c05ad4f116cc8e1365a8f9297914492 |
2 |
Author: Jeremy Olexa <darkside <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Nov 28 16:28:50 2011 +0000 |
4 |
Commit: Jeremy Olexa <darkside <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Nov 28 16:28:50 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/darkside.git;a=commit;h=5e2c0661 |
7 |
|
8 |
[dev-util/catalyst] use if block |
9 |
|
10 |
--- |
11 |
dev-util/catalyst/catalyst-2.0.7.1.ebuild | 6 +++--- |
12 |
1 files changed, 3 insertions(+), 3 deletions(-) |
13 |
|
14 |
diff --git a/dev-util/catalyst/catalyst-2.0.7.1.ebuild b/dev-util/catalyst/catalyst-2.0.7.1.ebuild |
15 |
index 47fba61..de529f1 100644 |
16 |
--- a/dev-util/catalyst/catalyst-2.0.7.1.ebuild |
17 |
+++ b/dev-util/catalyst/catalyst-2.0.7.1.ebuild |
18 |
@@ -49,9 +49,9 @@ src_install() { |
19 |
dodoc README ChangeLog AUTHORS |
20 |
doman files/catalyst.1 |
21 |
# Here is where we actually enable ccache |
22 |
- use ccache && \ |
23 |
- sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' \ |
24 |
- /etc/catalyst/catalyst.conf || die |
25 |
+ if use ccache; then |
26 |
+ sed -i -e 's:options="autoresume kern:options="autoresume ccache kern:' /etc/catalyst/catalyst.conf || die |
27 |
+ fi |
28 |
sed -i -e "s:/usr/lib/catalyst:/usr/$(get_libdir)/catalyst:" \ |
29 |
/etc/catalyst/catalyst.conf || die |
30 |
} |