summaryrefslogtreecommitdiff
path: root/www/aws/patches
diff options
context:
space:
mode:
authormarino <marino@pkgsrc.org>2014-05-09 23:58:21 +0000
committermarino <marino@pkgsrc.org>2014-05-09 23:58:21 +0000
commitf51f58a4cc0f2b482ca675cb16d80cbae1158d6a (patch)
tree703752e7c1a72b7206390c247f5f3009d3f6631a /www/aws/patches
parent8c3652c8a995bec8637fbf9b027f3305adfcfdf0 (diff)
downloadpkgsrc-f51f58a4cc0f2b482ca675cb16d80cbae1158d6a.tar.gz
www/aws: Link aws tools with runpath to libssl
The aws tools were linked to libssl without rpath. If libssl is not located in a standard library search path, the rtld will not be able to find it (as seen on Joyent dev area). This change links the libssl runpath to the tools.
Diffstat (limited to 'www/aws/patches')
-rw-r--r--www/aws/patches/patch-tools_tools.gpr22
1 files changed, 22 insertions, 0 deletions
diff --git a/www/aws/patches/patch-tools_tools.gpr b/www/aws/patches/patch-tools_tools.gpr
new file mode 100644
index 00000000000..1e4433feed1
--- /dev/null
+++ b/www/aws/patches/patch-tools_tools.gpr
@@ -0,0 +1,22 @@
+$NetBSD: patch-tools_tools.gpr,v 1.1 2014/05/09 23:58:21 marino Exp $
+
+ Establish runpath to libssl for aws tools
+
+--- tools/tools.gpr.orig 2013-07-03 01:11:54.000000000 +0000
++++ tools/tools.gpr
+@@ -98,11 +98,13 @@ project Tools is
+
+ package Linker is
+
++ linx := ("@RFLAG@", "@SSL_RPATH@");
++
+ case Shared.Build is
+ when "Release" =>
+- for Default_Switches ("Ada") use ("-s");
++ for Default_Switches ("Ada") use ("-s") & linx;
+ when others =>
+- null;
++ for Default_Switches ("Ada") use linx;
+ end case;
+
+ case Shared.S_Target is