r47439 - in /packages/libcgns/trunk/debian/patches: no-rpath.patch series

pini at users.alioth.debian.org pini at users.alioth.debian.org
Tue Jan 10 17:38:14 UTC 2017


Author: pini
Date: Tue Jan 10 17:38:13 2017
New Revision: 47439

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=47439
Log:
New patch to avoid rpath in binaries

Added:
    packages/libcgns/trunk/debian/patches/no-rpath.patch
Modified:
    packages/libcgns/trunk/debian/patches/series

Added: packages/libcgns/trunk/debian/patches/no-rpath.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/libcgns/trunk/debian/patches/no-rpath.patch?rev=47439&op=file
==============================================================================
--- packages/libcgns/trunk/debian/patches/no-rpath.patch	(added)
+++ packages/libcgns/trunk/debian/patches/no-rpath.patch	Tue Jan 10 17:38:13 2017
@@ -0,0 +1,29 @@
+Index: libcgns-3.3.0/CMakeLists.txt
+===================================================================
+--- libcgns-3.3.0.orig/CMakeLists.txt
++++ libcgns-3.3.0/CMakeLists.txt
+@@ -339,24 +339,6 @@ else (CGNS_ENABLE_HDF5 AND HDF5_NEED_MPI
+   mark_as_advanced(FORCE CGNS_ENABLE_PARALLEL)
+ endif (CGNS_ENABLE_HDF5 AND HDF5_NEED_MPI)
+ 
+-####################
+-# RPATH Management #
+-####################
+-
+-# use, i.e. don't skip the full RPATH for the build tree
+-set(CMAKE_SKIP_BUILD_RPATH  FALSE)
+-
+-# when building, don't use the install RPATH already
+-# (but later on when installing)
+-set(CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+-
+-# the RPATH to be used when installing
+-set(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
+-
+-# add the automatically determined parts of the RPATH
+-# which point to directories outside the build tree to the install RPATH
+-set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
+-
+ ########
+ # CGNS #
+ ########

Modified: packages/libcgns/trunk/debian/patches/series
URL: http://svn.debian.org/wsvn/debian-science/packages/libcgns/trunk/debian/patches/series?rev=47439&op=diff
==============================================================================
--- packages/libcgns/trunk/debian/patches/series	(original)
+++ packages/libcgns/trunk/debian/patches/series	Tue Jan 10 17:38:13 2017
@@ -1,3 +1,4 @@
 find-hdf5.patch
 cgnstools-path.patch
 fix-p3dfout.patch
+no-rpath.patch




More information about the debian-science-commits mailing list