aboutsummaryrefslogtreecommitdiffstats
path: root/community/suitesparse/0002-remove-rpath.patch
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-17 22:07:15 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-17 22:07:15 +0200
commit28eea326ce6605ee708cb1df0c67a3f90cdb5a79 (patch)
treec58ea1417ad51c6740fc7a2f80021687d5be741a /community/suitesparse/0002-remove-rpath.patch
parent9158f8fc25b28fede73541540800d7549f53e83e (diff)
downloadaports-28eea326ce6605ee708cb1df0c67a3f90cdb5a79.tar.bz2
aports-28eea326ce6605ee708cb1df0c67a3f90cdb5a79.tar.xz
community/suitesparse: move from testing
Diffstat (limited to 'community/suitesparse/0002-remove-rpath.patch')
-rw-r--r--community/suitesparse/0002-remove-rpath.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/community/suitesparse/0002-remove-rpath.patch b/community/suitesparse/0002-remove-rpath.patch
new file mode 100644
index 0000000000..b20166e86c
--- /dev/null
+++ b/community/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
+
+ #---------------------------------------------------------------------------