diff options
author | Bernd Waibel <waebbl@gmail.com> | 2020-12-19 10:08:35 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2020-12-27 03:35:36 +0000 |
commit | ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded (patch) | |
tree | fcdfcac88c563dcb3e57128dfe6f99cf7d43446d /sci-libs | |
parent | dev-util/rt-tests: respect prefix (diff) | |
download | gentoo-ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded.tar.gz gentoo-ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded.tar.bz2 gentoo-ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded.zip |
sci-libs/cgnslib: fix doc installation
Also fixes a typo with CMAKE_USE_SHARED variable
Closes: https://bugs.gentoo.org/760342
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Bernd Waibel <waebbl@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sci-libs')
-rw-r--r-- | sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild index e5889cb043ad..880fa6bd5801 100644 --- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild +++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -37,8 +37,8 @@ pkg_setup() { src_prepare() { # gentoo libdir sed -e 's|/lib|/'$(get_libdir)'|' \ - -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ - -i src/CMakeLists.txt || die + -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ + -i src/CMakeLists.txt || die # dont hard code link sed -e '/link_directories/d' \ -i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die @@ -48,7 +48,7 @@ src_prepare() { src_configure() { local mycmakeargs=( -DCGNS_BUILD_SHARED=ON - -DCGNS_USED_SHARED=ON + -DCGNS_USE_SHARED=ON -DCGNS_BUILD_CGNSTOOLS="$(usex tools)" -DCGNS_ENABLE_FORTRAN="$(usex fortran)" -DCGNS_ENABLE_HDF5="$(usex hdf5)" @@ -71,7 +71,7 @@ src_install() { cmake-utils_src_install dodoc README.md release_docs/Release.txt use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a - use doc && dodoc *pdf release_docs/*.pdf + use doc && dodoc release_docs/*.pdf insinto /usr/share/doc/${PF} use examples && doins -r src/examples } |