1 |
commit: 8f2e33fa7723ccd27f7b41928d6212fc2ef00cce |
2 |
Author: Andreas Schäfer <gentryx <AT> gmx <DOT> de> |
3 |
AuthorDate: Sat Apr 27 10:57:40 2013 +0000 |
4 |
Commit: Sebastien Fabbro <bicatali <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 27 10:57:40 2013 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=8f2e33fa |
7 |
|
8 |
corrected use flag-dependend configure switch |
9 |
|
10 |
--- |
11 |
dev-util/VampirTrace/VampirTrace-5.14.3.ebuild | 3 +-- |
12 |
1 files changed, 1 insertions(+), 2 deletions(-) |
13 |
|
14 |
diff --git a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
15 |
index c923872..f05edde 100644 |
16 |
--- a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
17 |
+++ b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild |
18 |
@@ -20,8 +20,7 @@ DEPEND=" |
19 |
cuda? ( >=dev-util/nvidia-cuda-toolkit-4.0.0 )" |
20 |
|
21 |
src_configure() { |
22 |
- use cuda && myconf="--with-cuda-dir=/opt/cuda" |
23 |
- econf $myconf |
24 |
+ econf $(use_with cuda cuda-dir "${EPREFIX}"/opt/cuda) |
25 |
} |
26 |
|
27 |
src_install() { |