summaryrefslogtreecommitdiff
path: root/sci-physics/espresso/espresso-4.1.3.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-08-31 08:59:54 +0100
committerV3n3RiX <venerix@redcorelinux.org>2021-08-31 08:59:54 +0100
commit3b08f674e3f771b49370edb144dab0958c8cf721 (patch)
tree3673eb62859b2343bc70589f2f9d670c2eee5cc8 /sci-physics/espresso/espresso-4.1.3.ebuild
parentb1c81de4fadbd00897700a7321f03b390d952b2e (diff)
gentoo resync : 31.08.2021
Diffstat (limited to 'sci-physics/espresso/espresso-4.1.3.ebuild')
-rw-r--r--sci-physics/espresso/espresso-4.1.3.ebuild6
1 files changed, 6 insertions, 0 deletions
diff --git a/sci-physics/espresso/espresso-4.1.3.ebuild b/sci-physics/espresso/espresso-4.1.3.ebuild
index 19e9be04e85a..4c60379b475a 100644
--- a/sci-physics/espresso/espresso-4.1.3.ebuild
+++ b/sci-physics/espresso/espresso-4.1.3.ebuild
@@ -49,6 +49,10 @@ DOCS=( AUTHORS NEWS README ChangeLog )
S="${WORKDIR}/${PN}"
+PATCHES=(
+ "${FILESDIR}"/${P}-gcc-11.patch
+)
+
src_prepare() {
use cuda && cuda_src_prepare
cmake_src_prepare
@@ -79,6 +83,8 @@ src_install() {
cmake_src_install
+ python_optimize
+
insinto /usr/share/${PN}/
doins "${BUILD_DIR}/myconfig-sample.hpp"