commit:     4cdd05c69d06fdf4400b6a19703652af2ada88c3
Author:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
AuthorDate: Tue Jun  1 08:59:34 2021 +0000
Commit:     Andrew Ammerlaan <andrewammerlaan <AT> gentoo <DOT> org>
CommitDate: Tue Jun  1 08:59:34 2021 +0000
URL:        https://gitweb.gentoo.org/proj/sci.git/commit/?id=4cdd05c6

sci-chemistry/MotionCor2: fix cuda flag

Package-Manager: Portage-3.0.19, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> gentoo.org>

 sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild 
b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
index c4d991410..7507ca26f 100644
--- a/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
+++ b/sci-chemistry/MotionCor2/MotionCor2-1.4.0.ebuild
@@ -36,7 +36,7 @@ src_install() {
        # package also has 10.0 10.1 11.0 versions
        # but these cuda versions are not in ::gentoo
        local mcbin
-       mcbin="${PN}_${PV}_Cuda102"
+       use cuda102 && mcbin="${PN}_${PV}_Cuda102"
        dobin "${mcbin}"
        dosym "${mcbin}" /usr/bin/MotionCor2
 }

Reply via email to