aboutsummaryrefslogtreecommitdiffstats
path: root/testing/suitesparse/0002-remove-rpath.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-06-04 22:21:32 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-06-09 19:26:06 +0200
commit88eba5488854f436eabbdffd42cfdff587cbf884 (patch)
tree48a83a973ab1c8820c227d5d73912d443827d0d6 /testing/suitesparse/0002-remove-rpath.patch
parentab7d0fd6da26ee817ee94118e38545e95e38d9b9 (diff)
downloadaports-88eba5488854f436eabbdffd42cfdff587cbf884.tar.bz2
aports-88eba5488854f436eabbdffd42cfdff587cbf884.tar.xz
testing/suitesparse: new abuild
http://faculty.cse.tamu.edu/davis/suitesparse.html A collection of sparse matrix libraries
Diffstat (limited to 'testing/suitesparse/0002-remove-rpath.patch')
-rw-r--r--testing/suitesparse/0002-remove-rpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/testing/suitesparse/0002-remove-rpath.patch b/testing/suitesparse/0002-remove-rpath.patch
new file mode 100644
index 0000000000..b20166e86c
--- /dev/null
+++ b/testing/suitesparse/0002-remove-rpath.patch
@@ -0,0 +1,17 @@
+From: Jakub Jirutka <jakub@jirutka.cz>
+Date: Wed, 08 Jun 2016 21:04:00 +0200
+Subject: [PATCH] Do not use -rpath
+
+Hard-coded rpath is bad, moreover when it contains absolute path to the
+build directory.
+--- a/SuiteSparse_config/SuiteSparse_config.mk
++++ b/SuiteSparse_config/SuiteSparse_config.mk
+@@ -338,7 +338,7 @@
+
+ ifeq ($(UNAME),Linux)
+ # add the realtime library, librt, and SuiteSparse/lib
+- LDLIBS += -lrt -Wl,-rpath=$(INSTALL_LIB)
++ LDLIBS += -lrt
+ endif
+
+ #---------------------------------------------------------------------------