diff options
Diffstat (limited to 'sci-chemistry/gromacs/gromacs-2020.4.ebuild')
-rw-r--r-- | sci-chemistry/gromacs/gromacs-2020.4.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sci-chemistry/gromacs/gromacs-2020.4.ebuild b/sci-chemistry/gromacs/gromacs-2020.4.ebuild index 266941a81e30..4a9027a2d180 100644 --- a/sci-chemistry/gromacs/gromacs-2020.4.ebuild +++ b/sci-chemistry/gromacs/gromacs-2020.4.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 ) @@ -317,7 +317,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 |