1 |
commit: ee7fdbf09d7a8ce5a87d6c828a21720fcb731ded |
2 |
Author: Bernd Waibel <waebbl <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Dec 19 09:08:35 2020 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Dec 27 03:35:36 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee7fdbf0 |
7 |
|
8 |
sci-libs/cgnslib: fix doc installation |
9 |
|
10 |
Also fixes a typo with CMAKE_USE_SHARED variable |
11 |
|
12 |
Closes: https://bugs.gentoo.org/760342 |
13 |
Package-Manager: Portage-3.0.12, Repoman-3.0.2 |
14 |
Signed-off-by: Bernd Waibel <waebbl <AT> gmail.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sci-libs/cgnslib/cgnslib-3.4.0.ebuild | 10 +++++----- |
18 |
1 file changed, 5 insertions(+), 5 deletions(-) |
19 |
|
20 |
diff --git a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild |
21 |
index e5889cb043a..880fa6bd580 100644 |
22 |
--- a/sci-libs/cgnslib/cgnslib-3.4.0.ebuild |
23 |
+++ b/sci-libs/cgnslib/cgnslib-3.4.0.ebuild |
24 |
@@ -1,4 +1,4 @@ |
25 |
-# Copyright 1999-2019 Gentoo Authors |
26 |
+# Copyright 1999-2020 Gentoo Authors |
27 |
# Distributed under the terms of the GNU General Public License v2 |
28 |
|
29 |
EAPI=6 |
30 |
@@ -37,8 +37,8 @@ pkg_setup() { |
31 |
src_prepare() { |
32 |
# gentoo libdir |
33 |
sed -e 's|/lib|/'$(get_libdir)'|' \ |
34 |
- -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ |
35 |
- -i src/CMakeLists.txt || die |
36 |
+ -e '/DESTINATION/s|lib|'$(get_libdir)'|g' \ |
37 |
+ -i src/CMakeLists.txt || die |
38 |
# dont hard code link |
39 |
sed -e '/link_directories/d' \ |
40 |
-i src/tools/CMakeLists.txt src/cgnstools/*/CMakeLists.txt || die |
41 |
@@ -48,7 +48,7 @@ src_prepare() { |
42 |
src_configure() { |
43 |
local mycmakeargs=( |
44 |
-DCGNS_BUILD_SHARED=ON |
45 |
- -DCGNS_USED_SHARED=ON |
46 |
+ -DCGNS_USE_SHARED=ON |
47 |
-DCGNS_BUILD_CGNSTOOLS="$(usex tools)" |
48 |
-DCGNS_ENABLE_FORTRAN="$(usex fortran)" |
49 |
-DCGNS_ENABLE_HDF5="$(usex hdf5)" |
50 |
@@ -71,7 +71,7 @@ src_install() { |
51 |
cmake-utils_src_install |
52 |
dodoc README.md release_docs/Release.txt |
53 |
use static-libs || rm "${ED}"/usr/$(get_libdir)/libcgns.a |
54 |
- use doc && dodoc *pdf release_docs/*.pdf |
55 |
+ use doc && dodoc release_docs/*.pdf |
56 |
insinto /usr/share/doc/${PF} |
57 |
use examples && doins -r src/examples |
58 |
} |