diff options
author | jperkin <jperkin@pkgsrc.org> | 2019-08-08 11:42:23 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2019-08-08 11:42:23 +0000 |
commit | e59435551eaff56f190068eea0d64bc61e9a7adf (patch) | |
tree | 12f7698cfbb3a93a248233c78df5b8101c67b6cd | |
parent | 1d19243113b50c07c14f6554dbdcb0a83a6cac36 (diff) | |
download | pkgsrc-e59435551eaff56f190068eea0d64bc61e9a7adf.tar.gz |
erlang: Restore SunOS -shared fix lost in previous update.
-rw-r--r-- | lang/erlang/distinfo | 3 | ||||
-rw-r--r-- | lang/erlang/patches/patch-erts_aclocal.m4 | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/lang/erlang/distinfo b/lang/erlang/distinfo index a0657b75004..68f4a71e2d7 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -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 @@ SHA512 (erlang/OTP-22.0.7.tar.gz) = cf84cc20b97ed46f9ab3c7f1d77bcf6254ac3ebbb5c1 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 --git a/lang/erlang/patches/patch-erts_aclocal.m4 b/lang/erlang/patches/patch-erts_aclocal.m4 new file mode 100644 index 00000000000..a0160e5316d --- /dev/null +++ b/lang/erlang/patches/patch-erts_aclocal.m4 @@ -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 |