pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: Restore SunOS -shared fix lost in ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/eec9f120cab3
branches:  trunk
changeset: 399376:eec9f120cab3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Thu Aug 08 11:42:23 2019 +0000

description:
erlang: Restore SunOS -shared fix lost in previous update.

diffstat:

 lang/erlang/distinfo                      |   3 ++-
 lang/erlang/patches/patch-erts_aclocal.m4 |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r 5a9ebe523516 -r eec9f120cab3 lang/erlang/distinfo
--- a/lang/erlang/distinfo      Thu Aug 08 10:33:27 2019 +0000
+++ b/lang/erlang/distinfo      Thu Aug 08 11:42:23 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.74 2019/08/01 11:43:00 nia Exp $
+$NetBSD: distinfo,v 1.75 2019/08/08 11:42:23 jperkin Exp $
 
 SHA1 (erlang/OTP-22.0.7.tar.gz) = 6d011f6814d08ae2bce0055a203f85ab7930e915
 RMD160 (erlang/OTP-22.0.7.tar.gz) = 1719401953c5ed5870336a3d5bb3019f0a30020f
@@ -6,6 +6,7 @@
 Size (erlang/OTP-22.0.7.tar.gz) = 54814307 bytes
 SHA1 (patch-ab) = 5f1602f3a49c05fd4c45884a7cd6be8d3f287ac3
 SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd
+SHA1 (patch-erts_aclocal.m4) = 3812a0feda06eb7c6ff02b5ac7125284ad5df2cb
 SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = e34674aea2fa5092b5215944cb5639738df647bb
 SHA1 (patch-erts_emulator_nifs_common_net__nif.c) = a4507a72aa43ef337715add257971c6422d0b9cb
 SHA1 (patch-erts_emulator_sys_unix_sys__uds.c) = a165f977221acc8aba2ef30ca23d149a10af060a
diff -r 5a9ebe523516 -r eec9f120cab3 lang/erlang/patches/patch-erts_aclocal.m4
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang/patches/patch-erts_aclocal.m4 Thu Aug 08 11:42:23 2019 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-erts_aclocal.m4,v 1.1 2019/08/08 11:42:23 jperkin Exp $
+
+SunOS needs -shared via the GCC driver, not -G.
+
+--- erts/aclocal.m4.orig       2019-07-10 16:05:15.000000000 +0000
++++ erts/aclocal.m4
+@@ -2983,7 +2983,7 @@ case $host_os in
+               DED_LD_FLAG_RUNTIME_LIBRARY_PATH=
+       ;;
+       solaris2*|sysv4*)
+-              DED_LDFLAGS="-G"
++              DED_LDFLAGS="-shared"
+               if test X${enable_m64_build} = Xyes; then
+                       DED_LDFLAGS="-64 $DED_LDFLAGS"
+               fi



Home | Main Index | Thread Index | Old Index