commit:     77360892c4ab4b79c81c2ddc030741f60a77618a
Author:     band-a-prend <torokhov-s-a <AT> yandex <DOT> ru>
AuthorDate: Wed Jul 24 12:02:42 2019 +0000
Commit:     Matthias Maier <tamiko <AT> gentoo <DOT> org>
CommitDate: Tue Jul 30 15:12:24 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77360892

sci-libs/sundials: fix LICENSE installation patches

Sundials 4.x add NOTICE files besides LICENSE files
and current fix-licence-patches contain only fix for installation path
of NOTICE files and don't fix payhs for LICENSE.

Signed-off-by: Sergey Torokhov <torokhov_s_a <AT> mail.ru>
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org>

 .../sundials/files/sundials-4.0.2-fix-license-install-path.patch   | 7 ++++++-
 .../sundials/files/sundials-4.1.0-fix-license-install-path.patch   | 7 ++++++-
 2 files changed, 12 insertions(+), 2 deletions(-)

diff --git 
a/sci-libs/sundials/files/sundials-4.0.2-fix-license-install-path.patch 
b/sci-libs/sundials/files/sundials-4.0.2-fix-license-install-path.patch
index 97cc6f715c4..fbcf53c410c 100644
--- a/sci-libs/sundials/files/sundials-4.0.2-fix-license-install-path.patch
+++ b/sci-libs/sundials/files/sundials-4.0.2-fix-license-install-path.patch
@@ -1,7 +1,12 @@
 diff -Nur old/CMakeLists.txt new/CMakeLists.txt
 --- old/CMakeLists.txt 2019-01-23 01:05:44.000000000 +0300
 +++ new/CMakeLists.txt 2019-06-23 00:35:57.000000000 +0300
-@@ -1214,6 +1214,6 @@
+@@ -1210,10 +1210,10 @@
+ # install license and notice files
+ INSTALL(
+   FILES ${PROJECT_SOURCE_DIR}/LICENSE
+-  DESTINATION include/sundials
++  DESTINATION share/doc/sundials-4.0.2
    )
  INSTALL(
    FILES ${PROJECT_SOURCE_DIR}/NOTICE

diff --git 
a/sci-libs/sundials/files/sundials-4.1.0-fix-license-install-path.patch 
b/sci-libs/sundials/files/sundials-4.1.0-fix-license-install-path.patch
index 72b5f5915c8..6eb75ce59cf 100644
--- a/sci-libs/sundials/files/sundials-4.1.0-fix-license-install-path.patch
+++ b/sci-libs/sundials/files/sundials-4.1.0-fix-license-install-path.patch
@@ -1,7 +1,12 @@
 diff -Nur old/CMakeLists.txt new/CMakeLists.txt
 --- old/CMakeLists.txt 2019-02-12 21:50:51.000000000 +0300
 +++ new/CMakeLists.txt 2019-06-23 00:39:23.000000000 +0300
-@@ -1172,6 +1172,6 @@
+@@ -1168,10 +1168,10 @@
+ # install license and notice files
+ INSTALL(
+   FILES ${PROJECT_SOURCE_DIR}/LICENSE
+-  DESTINATION include/sundials
++  DESTINATION share/doc/sundials-4.1.0
    )
  INSTALL(
    FILES ${PROJECT_SOURCE_DIR}/NOTICE

Reply via email to