summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sci-physics/espresso/espresso-4.0.0-r1.ebuild (renamed from sci-physics/espresso/espresso-4.0.0.ebuild)2
-rw-r--r--sci-physics/espresso/files/2277.patch19
2 files changed, 21 insertions, 0 deletions
diff --git a/sci-physics/espresso/espresso-4.0.0.ebuild b/sci-physics/espresso/espresso-4.0.0-r1.ebuild
index 953909c3dd7d..54eb213cc07a 100644
--- a/sci-physics/espresso/espresso-4.0.0.ebuild
+++ b/sci-physics/espresso/espresso-4.0.0-r1.ebuild
@@ -45,6 +45,8 @@ DEPEND="${RDEPEND}
DOCS=( AUTHORS NEWS README ChangeLog )
+PATCHES=( "${FILESDIR}/2277.patch" )
+
src_prepare() {
use cuda && cuda_src_prepare
cmake-utils_src_prepare
diff --git a/sci-physics/espresso/files/2277.patch b/sci-physics/espresso/files/2277.patch
new file mode 100644
index 000000000000..608bd2876121
--- /dev/null
+++ b/sci-physics/espresso/files/2277.patch
@@ -0,0 +1,19 @@
+From 46110a514ce2420a350cca8b9af28e0c4eb51861 Mon Sep 17 00:00:00 2001
+From: Christoph Junghans <junghans@votca.org>
+Date: Fri, 21 Sep 2018 06:57:16 -0600
+Subject: [PATCH] cmake: install libH5mdCore
+
+---
+ src/core/io/writer/CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/core/io/writer/CMakeLists.txt b/src/core/io/writer/CMakeLists.txt
+index e677ba273a..42b96c96af 100644
+--- a/src/core/io/writer/h5md/CMakeLists.txt
++++ b/src/core/io/writer/h5md/CMakeLists.txt
+@@ -4,4 +4,5 @@
+ "${CMAKE_SOURCE_DIR}/libs/h5xx"
+ )
+ add_dependencies(H5mdCore EspressoConfig)
++install(TARGETS H5mdCore LIBRARY DESTINATION ${LIBDIR})
+