sci-libs/sundials: fix LICENSE installation patches
authorband-a-prend <torokhov-s-a@yandex.ru>
Wed, 24 Jul 2019 12:02:42 +0000 (15:02 +0300)
committerMatthias Maier <tamiko@gentoo.org>
Tue, 30 Jul 2019 15:12:24 +0000 (10:12 -0500)
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@mail.ru>
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
sci-libs/sundials/files/sundials-4.0.2-fix-license-install-path.patch
sci-libs/sundials/files/sundials-4.1.0-fix-license-install-path.patch

index 97cc6f715c4e57414fc43ea02a767e6df33e3160..fbcf53c410cf8abd37f520a152046f5fef943381 100644 (file)
@@ -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
index 72b5f5915c87d04084b5015fd14519ad335dd4a2..6eb75ce59cff258d2c363457df3fbec77860eb2d 100644 (file)
@@ -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