[visp] 04/06: Add patch to install vpConfig.h in include architecture triplet

Thomas Moulard thomas_moulard-guest at moszumanska.debian.org
Tue Jun 3 06:17:56 UTC 2014


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

thomas_moulard-guest pushed a commit to branch master
in repository visp.

commit 77520ac3ec0631b1be8b0d0802117adb53ab7ba4
Author: Fabien Spindler <Fabien.Spindler at inria.fr>
Date:   Sun Jun 1 22:23:54 2014 +0200

    Add patch to install vpConfig.h in include architecture triplet
---
 ...pConfig.h-in-include-architecture-triplet.patch | 25 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/0001-Install-vpConfig.h-in-include-architecture-triplet.patch b/debian/patches/0001-Install-vpConfig.h-in-include-architecture-triplet.patch
new file mode 100644
index 0000000..38f0fd0
--- /dev/null
+++ b/debian/patches/0001-Install-vpConfig.h-in-include-architecture-triplet.patch
@@ -0,0 +1,25 @@
+From 3f2be63a8fc682bc41ccb36b79005d15eca842ac Mon Sep 17 00:00:00 2001
+From: Fabien Spindler <Fabien.Spindler at inria.fr>
+Date: Sun, 1 Jun 2014 21:57:17 +0200
+Subject: [PATCH] Install vpConfig.h in include architecture triplet
+
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 9b44006..e3c2f9e 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -2107,7 +2107,7 @@ CONFIGURE_FILE(${VISP_SOURCE_DIR}/include/vpConfig.h.cmake
+ 
+ # Install vpConfig.h that may differ from the one in include/visp
+ INSTALL(FILES ${VISP_BINARY_DIR}/install/vpConfig.h
+-  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/visp
++  DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/${CMAKE_LIBRARY_ARCHITECTURE}/visp
+   PERMISSIONS OWNER_READ GROUP_READ WORLD_READ OWNER_WRITE
+   COMPONENT headers
+   )
+-- 
+1.9.1
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..232426f
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+0001-Install-vpConfig.h-in-include-architecture-triplet.patch

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



More information about the debian-science-commits mailing list