[rkward] /: Make sure not to include RPATH or RUNAPTH in backend executable.

Thomas Friedrichsmeier null at kde.org
Wed Apr 4 15:20:56 UTC 2018


Git commit 5159f9197a6c5f9eeba863b165f458b9a14ea53e by Thomas Friedrichsmeier.
Committed on 04/04/2018 at 15:01.
Pushed by tfry into branch 'master'.

Make sure not to include RPATH or RUNAPTH in backend executable.

Note: libR.so and friends are found by virtue of being called through R CMD.
(set_target_properties on rkward.rbackend alone does not appear to help, for some
reason).

M  +2    -1    debian-official/changelog
M  +1    -0    debian-official/rules
M  +1    -0    debian/rules

https://commits.kde.org/rkward/5159f9197a6c5f9eeba863b165f458b9a14ea53e

diff --git a/debian-official/changelog b/debian-official/changelog
index afec4555..c9277299 100644
--- a/debian-official/changelog
+++ b/debian-official/changelog
@@ -4,7 +4,8 @@ rkward (0.7.0-1) UNRELEASED; urgency=low
     simplifying copyright
   * Package now based on kf5-libraries, instead of KDE 4
     closes: #531086
-  * Add dependency on r-api-3.4 to ease handling of future non-compatible changes in R
+  * Add dependency on r-api-3.4 to ease handling of future non-compatible
+    changes in R
     closes: #877283
   * Use dh_auto_configure for basic setup
 
diff --git a/debian-official/rules b/debian-official/rules
index 0b9bf05a..2b4750b3 100755
--- a/debian-official/rules
+++ b/debian-official/rules
@@ -30,6 +30,7 @@ override_dh_auto_configure:
 	dh_auto_configure '--buildsystem=kf5' --parallel -- \
 		-DR_EXECUTABLE=/usr/bin/R/ \
 		-DR_LIBDIR=/usr/lib/R/site-library/ \
+		-DCMAKE_SKIP_RPATH=YES \
 		-DBUILD_TIMESTAMP="$(builttime)"
 
 override_dh_auto_install:
diff --git a/debian/rules b/debian/rules
index dfe03c0a..e0fc9b86 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,7 @@ override_dh_auto_configure:
 	dh_auto_configure '--buildsystem=kf5' --parallel -- \
 		-DR_EXECUTABLE=/usr/bin/R/ \
 		-DR_LIBDIR=/usr/lib/R/site-library/ \
+		-DCMAKE_SKIP_RPATH=YES \
 		-DBUILD_TIMESTAMP="$(builttime)"
 
 override_dh_auto_install:



More information about the rkward-tracker mailing list