1 |
commit: 8ec855c644f7c1488cf89696d8afab04ff9da0e9 |
2 |
Author: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 23 12:48:41 2018 +0000 |
4 |
Commit: Christoph Junghans <junghans <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 23 12:49:22 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ec855c6 |
7 |
|
8 |
sci-physics/espresso: fix install |
9 |
|
10 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
11 |
|
12 |
...espresso-4.0.0.ebuild => espresso-4.0.0-r1.ebuild} | 2 ++ |
13 |
sci-physics/espresso/files/2277.patch | 19 +++++++++++++++++++ |
14 |
2 files changed, 21 insertions(+) |
15 |
|
16 |
diff --git a/sci-physics/espresso/espresso-4.0.0.ebuild b/sci-physics/espresso/espresso-4.0.0-r1.ebuild |
17 |
similarity index 98% |
18 |
rename from sci-physics/espresso/espresso-4.0.0.ebuild |
19 |
rename to sci-physics/espresso/espresso-4.0.0-r1.ebuild |
20 |
index 953909c3dd7..54eb213cc07 100644 |
21 |
--- a/sci-physics/espresso/espresso-4.0.0.ebuild |
22 |
+++ b/sci-physics/espresso/espresso-4.0.0-r1.ebuild |
23 |
@@ -45,6 +45,8 @@ DEPEND="${RDEPEND} |
24 |
|
25 |
DOCS=( AUTHORS NEWS README ChangeLog ) |
26 |
|
27 |
+PATCHES=( "${FILESDIR}/2277.patch" ) |
28 |
+ |
29 |
src_prepare() { |
30 |
use cuda && cuda_src_prepare |
31 |
cmake-utils_src_prepare |
32 |
|
33 |
diff --git a/sci-physics/espresso/files/2277.patch b/sci-physics/espresso/files/2277.patch |
34 |
new file mode 100644 |
35 |
index 00000000000..608bd287612 |
36 |
--- /dev/null |
37 |
+++ b/sci-physics/espresso/files/2277.patch |
38 |
@@ -0,0 +1,19 @@ |
39 |
+From 46110a514ce2420a350cca8b9af28e0c4eb51861 Mon Sep 17 00:00:00 2001 |
40 |
+From: Christoph Junghans <junghans@×××××.org> |
41 |
+Date: Fri, 21 Sep 2018 06:57:16 -0600 |
42 |
+Subject: [PATCH] cmake: install libH5mdCore |
43 |
+ |
44 |
+--- |
45 |
+ src/core/io/writer/CMakeLists.txt | 1 + |
46 |
+ 1 file changed, 1 insertion(+) |
47 |
+ |
48 |
+diff --git a/src/core/io/writer/CMakeLists.txt b/src/core/io/writer/CMakeLists.txt |
49 |
+index e677ba273a..42b96c96af 100644 |
50 |
+--- a/src/core/io/writer/h5md/CMakeLists.txt |
51 |
++++ b/src/core/io/writer/h5md/CMakeLists.txt |
52 |
+@@ -4,4 +4,5 @@ |
53 |
+ "${CMAKE_SOURCE_DIR}/libs/h5xx" |
54 |
+ ) |
55 |
+ add_dependencies(H5mdCore EspressoConfig) |
56 |
++install(TARGETS H5mdCore LIBRARY DESTINATION ${LIBDIR}) |
57 |
+ |