1 |
commit: a15bddc34a997a532e1da9884fc73f903b7dbf0c |
2 |
Author: Andreas K. Huettel (dilfridge) <mail <AT> akhuettel <DOT> de> |
3 |
AuthorDate: Sun Nov 20 22:02:08 2011 +0000 |
4 |
Commit: Andreas Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Nov 20 22:02:08 2011 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=a15bddc3 |
7 |
|
8 |
[dev-util/krazy2] Only install c++ support depending on useflag, bug 372177 |
9 |
|
10 |
(Portage version: 2.1.10.36/git/Linux x86_64, unsigned Manifest commit) |
11 |
|
12 |
--- |
13 |
dev-util/krazy2/krazy2-9999.ebuild | 10 +++++----- |
14 |
1 files changed, 5 insertions(+), 5 deletions(-) |
15 |
|
16 |
diff --git a/dev-util/krazy2/krazy2-9999.ebuild b/dev-util/krazy2/krazy2-9999.ebuild |
17 |
index 16e1651..aa2aa0e 100644 |
18 |
--- a/dev-util/krazy2/krazy2-9999.ebuild |
19 |
+++ b/dev-util/krazy2/krazy2-9999.ebuild |
20 |
@@ -4,7 +4,7 @@ |
21 |
|
22 |
EAPI=4 |
23 |
|
24 |
-inherit perl-module qt4 cmake-utils git-2 |
25 |
+inherit perl-module qt4-r2 cmake-utils git-2 |
26 |
|
27 |
DESCRIPTION="Source code sanity checker for KDE developers." |
28 |
HOMEPAGE="http://www.kde.org/" |
29 |
@@ -13,7 +13,7 @@ EGIT_REPO_URI="git://gitorious.org/krazy/krazy.git" |
30 |
LICENSE="GPL-2" |
31 |
KEYWORDS="" |
32 |
SLOT="0" |
33 |
-IUSE="debug" |
34 |
+IUSE="cxx debug" |
35 |
|
36 |
DEPEND=" |
37 |
>=dev-perl/HTML-Parser-2.20 |
38 |
@@ -40,13 +40,13 @@ src_prepare() { |
39 |
} |
40 |
|
41 |
src_configure() { |
42 |
- cmake-utils_src_configure |
43 |
+ use cxx && cmake-utils_src_configure |
44 |
cd src |
45 |
eqmake4 src.pro |
46 |
} |
47 |
|
48 |
src_compile() { |
49 |
- cmake-utils_src_compile |
50 |
+ use cxx && cmake-utils_src_compile |
51 |
cd src |
52 |
emake |
53 |
} |
54 |
@@ -54,7 +54,7 @@ src_compile() { |
55 |
src_install() { |
56 |
dodoc README TODO |
57 |
|
58 |
- cmake-utils_src_install |
59 |
+ use cxx && cmake-utils_src_install |
60 |
|
61 |
cd src |
62 |
emake install INSTALL_ROOT="${D}/usr" |