[superlu] 02/02: add gnuinstalldirs.patch

Nico Schlömer nschloe-guest at moszumanska.debian.org
Fri May 20 09:43:21 UTC 2016


This is an automated email from the git hooks/post-receive script.

nschloe-guest pushed a commit to branch master
in repository superlu.

commit e4e6da4ec91f6bd6ee9ad0b1cdabc0fc8f63a042
Author: Nico Schlömer <nico.schloemer at gmail.com>
Date:   Fri May 20 11:43:08 2016 +0200

    add gnuinstalldirs.patch
---
 debian/patches/gnuinstalldirs.patch | 33 +++++++++++++++++++++++++++++++++
 debian/patches/series               |  3 ++-
 2 files changed, 35 insertions(+), 1 deletion(-)

diff --git a/debian/patches/gnuinstalldirs.patch b/debian/patches/gnuinstalldirs.patch
new file mode 100644
index 0000000..27ff5f8
--- /dev/null
+++ b/debian/patches/gnuinstalldirs.patch
@@ -0,0 +1,33 @@
+commit ddd83a054337722d279f1b514e01e5c747abc6c8
+Author: Nico Schlömer <nico.schloemer at gmail.com>
+Date:   Fri May 20 01:36:16 2016 +0200
+
+    use GNUInstallDirs
+
+diff --git a/SRC/CMakeLists.txt b/SRC/CMakeLists.txt
+index 7576295..1bcb58b 100644
+--- a/SRC/CMakeLists.txt
++++ b/SRC/CMakeLists.txt
+@@ -1,5 +1,5 @@
+ 
+-set(headers 
++set(headers
+     supermatrix.h
+     slu_Cnames.h
+     slu_dcomplex.h
+@@ -232,10 +232,13 @@ target_link_libraries(superlu ${BLAS_LIB} m)
+ set_target_properties(superlu PROPERTIES
+   VERSION ${PROJECT_VERSION} SOVERSION ${VERSION_MAJOR}
+   )
++
++include(GNUInstallDirs)
++
+ install(TARGETS superlu
+-  DESTINATION ${CMAKE_INSTALL_PREFIX}/lib
++  DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ )
+ 
+ install(FILES ${headers}
+-  DESTINATION ${CMAKE_INSTALL_PREFIX}/include
++  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
+ )
diff --git a/debian/patches/series b/debian/patches/series
index 7fb8f29..90aa1da 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
-#mc64ad-stub.patch
+gnuinstalldirs.patch
+mc64ad-stub.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/superlu.git



More information about the debian-science-commits mailing list