summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Junghans <junghans@gentoo.org>2018-09-23 06:48:41 -0600
committerChristoph Junghans <junghans@gentoo.org>2018-09-23 06:49:22 -0600
commit8ec855c644f7c1488cf89696d8afab04ff9da0e9 (patch)
tree6ad8774504d9915fc109148c654e0ecb5101673f
parentdev-libs/starpu: Fix more dependencies (diff)
downloadgentoo-8ec855c644f7c1488cf89696d8afab04ff9da0e9.tar.gz
gentoo-8ec855c644f7c1488cf89696d8afab04ff9da0e9.tar.bz2
gentoo-8ec855c644f7c1488cf89696d8afab04ff9da0e9.zip
sci-physics/espresso: fix install
Package-Manager: Portage-2.3.49, Repoman-2.3.10
-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 953909c3dd7..54eb213cc07 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 00000000000..608bd287612
--- /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})
+