diff options
author | 2013-04-27 12:57:40 +0200 | |
---|---|---|
committer | 2013-04-27 12:57:40 +0200 | |
commit | 8f2e33fa7723ccd27f7b41928d6212fc2ef00cce (patch) | |
tree | a7a41c8e151ab7af1c390e99a2c83a429ba86a8e /dev-util/VampirTrace | |
parent | pleasing repoman (diff) | |
download | sci-8f2e33fa7723ccd27f7b41928d6212fc2ef00cce.tar.gz sci-8f2e33fa7723ccd27f7b41928d6212fc2ef00cce.tar.bz2 sci-8f2e33fa7723ccd27f7b41928d6212fc2ef00cce.zip |
corrected use flag-dependend configure switch
Diffstat (limited to 'dev-util/VampirTrace')
-rw-r--r-- | dev-util/VampirTrace/VampirTrace-5.14.3.ebuild | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild index c92387229..f05edde26 100644 --- a/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild +++ b/dev-util/VampirTrace/VampirTrace-5.14.3.ebuild @@ -20,8 +20,7 @@ DEPEND=" cuda? ( >=dev-util/nvidia-cuda-toolkit-4.0.0 )" src_configure() { - use cuda && myconf="--with-cuda-dir=/opt/cuda" - econf $myconf + econf $(use_with cuda cuda-dir "${EPREFIX}"/opt/cuda) } src_install() { |