summaryrefslogtreecommitdiff
path: root/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-06-20 14:45:01 +0100
commit34dea8e38f88007799629d0a56b12dec480b1d21 (patch)
tree6790873994b58030360328cf5897d934b3b03d16 /sci-chemistry/gromacs/gromacs-2021.9999.ebuild
parent7932d472a02d4c016ff7dff4b7a5479ab9d1883d (diff)
gentoo resync : 20.06.2021
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-2021.9999.ebuild')
-rw-r--r--sci-chemistry/gromacs/gromacs-2021.9999.ebuild6
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
index 16825937690a..40f115d6a10e 100644
--- a/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
+++ b/sci-chemistry/gromacs/gromacs-2021.9999.ebuild
@@ -74,7 +74,7 @@ RDEPEND="${CDEPEND}"
REQUIRED_USE="
|| ( single-precision double-precision )
- || ( doc build-manual )
+ doc? ( !build-manual )
cuda? ( single-precision )
cuda? ( !opencl )
mkl? ( !blas !fftw !lapack )
@@ -319,7 +319,9 @@ src_install() {
fi
if use doc; then
- newdoc "${DISTDIR}/manual-${PV}.pdf" "${PN}-manual-${PV}.pdf"
+ if [[ ${PV} != *9999* ]]; then
+ newdoc "${DISTDIR}/manual-${PV}.pdf" "${PN}-manual-${PV}.pdf"
+ fi
fi
use mpi || continue