summaryrefslogtreecommitdiff
path: root/community/paraview/kwprocessxml_rpath.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/paraview/kwprocessxml_rpath.patch')
-rw-r--r--community/paraview/kwprocessxml_rpath.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/community/paraview/kwprocessxml_rpath.patch b/community/paraview/kwprocessxml_rpath.patch
new file mode 100644
index 000000000..b36feb6fc
--- /dev/null
+++ b/community/paraview/kwprocessxml_rpath.patch
@@ -0,0 +1,26 @@
+Description: This patch forces building of kwProcessXML as shared forwarded
+ executable in our case (even is CMAKE_SKIP_RPATH is OFF in debian)
+Author: Mathieu Malaterre <mathieu.malaterre@gmail.com>
+Bug-Debian: http://bugs.debian.org/640305
+Last-Update: 2011-09-13
+
+--- a/Common/KWCommon/CMakeLists.txt
++++ b/Common/KWCommon/CMakeLists.txt
+@@ -225,7 +225,7 @@
+ IF(KWCOMMON_BUILD_PROCESSXML)
+ # For shared libraries on non-windows systems use the KWSys shared-forward
+ # implementation to make sure shared libraries are found.
+- IF(BUILD_SHARED_LIBS AND CMAKE_SKIP_RPATH)
++ IF(BUILD_SHARED_LIBS )
+ IF(NOT WIN32)
+ SET(KWCommon_FORWARD_DIR_BUILD ${EXECUTABLE_OUTPUT_PATH})
+ SET(KWCommon_FORWARD_BIN_TO_LIB "..${KWCommon_INSTALL_LIB_DIR}")
+@@ -248,7 +248,7 @@
+ COMPONENT Development)
+ ENDIF(NOT KWCommon_INSTALL_NO_DEVELOPMENT)
+ ENDIF(NOT WIN32)
+- ENDIF(BUILD_SHARED_LIBS AND CMAKE_SKIP_RPATH)
++ ENDIF(BUILD_SHARED_LIBS )
+
+ ADD_EXECUTABLE(kwProcessXML${KWCommon_EXE_SUFFIX} ProcessXML.cxx)
+ TARGET_LINK_LIBRARIES(kwProcessXML${KWCommon_EXE_SUFFIX} vtkCommon vtksys)