summaryrefslogtreecommitdiff
path: root/lang/erlang/files/patch-lib_crypto_priv_Makefile
diff options
context:
space:
mode:
authorJimmy Olgeni <olgeni@FreeBSD.org>2016-05-07 09:02:08 +0000
committerJimmy Olgeni <olgeni@FreeBSD.org>2016-05-07 09:02:08 +0000
commit94e759fdb5404a732ae9744939b7c8858f2ea29d (patch)
treeddc83d0fb4e42a33bd02b8e7fd10b22d1e6995d8 /lang/erlang/files/patch-lib_crypto_priv_Makefile
parent- Update to 0.6.700.6.0 (diff)
Remove hardcoded RPATH from Erlang's crypto libraries.
Pkg always wants to install compat10x-amd64 when using the port's default RPATH. The same fix can be found in Suse, and in Erlang packages from RabbitMQ. Noticed by: lwhsu, bapt
Diffstat (limited to 'lang/erlang/files/patch-lib_crypto_priv_Makefile')
-rw-r--r--lang/erlang/files/patch-lib_crypto_priv_Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/erlang/files/patch-lib_crypto_priv_Makefile b/lang/erlang/files/patch-lib_crypto_priv_Makefile
new file mode 100644
index 000000000000..26f2c38e360d
--- /dev/null
+++ b/lang/erlang/files/patch-lib_crypto_priv_Makefile
@@ -0,0 +1,11 @@
+--- lib/crypto/priv/Makefile.orig 2016-03-14 20:11:15 UTC
++++ lib/crypto/priv/Makefile
+@@ -61,7 +61,7 @@ OBJS = $(OBJDIR)/crypto.o
+ # ----------------------------------------------------
+
+ $(SO_NIFLIB): $(OBJS)
+- $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) -Wl,-R$(SO_SSL_LIBDIR) \
++ $(SO_LD) $(SO_LDFLAGS) -L$(SO_SSL_LIBDIR) \
+ -o $@ $^ -lcrypto
+
+ $(DLL_NIFLIB): $(OBJS)