1 |
commit: d70091da796cbcb5b69eafc0fa657e081b11ce92 |
2 |
Author: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 8 21:07:12 2015 +0000 |
4 |
Commit: Christoph Junghans <ottxor <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Feb 8 21:07:31 2015 +0000 |
6 |
URL: http://sources.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=d70091da |
7 |
|
8 |
fix bug #539318 |
9 |
|
10 |
Package-Manager: portage-2.2.14 |
11 |
|
12 |
--- |
13 |
dev-cpp/icnc/ChangeLog | 5 ++++- |
14 |
dev-cpp/icnc/icnc-9999.ebuild | 11 +++++++---- |
15 |
2 files changed, 11 insertions(+), 5 deletions(-) |
16 |
|
17 |
diff --git a/dev-cpp/icnc/ChangeLog b/dev-cpp/icnc/ChangeLog |
18 |
index 7f3c6d5..8de9e15 100644 |
19 |
--- a/dev-cpp/icnc/ChangeLog |
20 |
+++ b/dev-cpp/icnc/ChangeLog |
21 |
@@ -1,7 +1,10 @@ |
22 |
# ChangeLog for dev-cpp/icnc |
23 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
24 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
25 |
# $Header: $ |
26 |
|
27 |
+ 08 Feb 2015; Christoph Junghans <ottxor@g.o> icnc-9999.ebuild: |
28 |
+ fix bug #539318 |
29 |
+ |
30 |
11 Dec 2014; Christoph Junghans <ottxor@g.o> icnc-9999.ebuild: |
31 |
sync with upstream |
32 |
|
33 |
|
34 |
diff --git a/dev-cpp/icnc/icnc-9999.ebuild b/dev-cpp/icnc/icnc-9999.ebuild |
35 |
index cc65021..5e953fa 100644 |
36 |
--- a/dev-cpp/icnc/icnc-9999.ebuild |
37 |
+++ b/dev-cpp/icnc/icnc-9999.ebuild |
38 |
@@ -1,4 +1,4 @@ |
39 |
-# Copyright 1999-2014 Gentoo Foundation |
40 |
+# Copyright 1999-2015 Gentoo Foundation |
41 |
# Distributed under the terms of the GNU General Public License v2 |
42 |
# $Header: $ |
43 |
|
44 |
@@ -31,6 +31,7 @@ RDEPEND=" |
45 |
" |
46 |
DEPEND=" |
47 |
${RDEPEND} |
48 |
+ doc? ( app-doc/doxygen ) |
49 |
test? ( ${PYTHON_DEPS} ) |
50 |
" |
51 |
|
52 |
@@ -38,6 +39,7 @@ src_configure() { |
53 |
local mycmakeargs=( |
54 |
$(cmake-utils_use mpi BUILD_LIBS_FOR_MPI) |
55 |
-DLIB=$(get_libdir) |
56 |
+ $(cmake-utils_use_find_package doc Doxygen) |
57 |
$(cmake-utils_use test ENABLE_TESTING) |
58 |
-DRUN_DIST=OFF |
59 |
) |
60 |
@@ -46,8 +48,9 @@ src_configure() { |
61 |
|
62 |
src_install() { |
63 |
cmake-utils_src_install |
64 |
- mv "${ED}"/usr/share/{icnc/doc/api,doc/${P}/html} || die |
65 |
- rmdir "${ED}"/usr/share/icnc/doc || die |
66 |
- use doc || rm -r "${ED}"/usr/share/doc/${P}/html || die |
67 |
+ if use doc; then |
68 |
+ mv "${ED}"/usr/share/{icnc/doc/api,doc/${P}/html} || die |
69 |
+ rmdir "${ED}"/usr/share/icnc/doc || die |
70 |
+ fi |
71 |
use examples || rm -r "${ED}"/usr/share/icnc/samples || die |
72 |
} |