pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/erlang Use GCC -shared on SunOS. Fixes shared li...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6174b80811a
branches:  trunk
changeset: 352056:d6174b80811a
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Sep 05 16:03:38 2016 +0000

description:
Use GCC -shared on SunOS.  Fixes shared libraries.  Bump PKGREVISION.

diffstat:

 lang/erlang/Makefile                     |   3 ++-
 lang/erlang/distinfo                     |   3 ++-
 lang/erlang/patches/patch-erts_configure |  15 +++++++++++++++
 3 files changed, 19 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 240dfa055dd8 -r d6174b80811a lang/erlang/Makefile
--- a/lang/erlang/Makefile      Mon Sep 05 15:13:31 2016 +0000
+++ b/lang/erlang/Makefile      Mon Sep 05 16:03:38 2016 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.77 2016/08/09 15:03:15 fhajny Exp $
+# $NetBSD: Makefile,v 1.78 2016/09/05 16:03:38 jperkin Exp $
 
 DISTNAME=              otp_src_${DIST_VERSION_MAJOR}.${DIST_VERSION_MINOR}
 PKGNAME=               ${DISTNAME:S/otp_src_/erlang-/}
+PKGREVISION=           1
 CATEGORIES=            lang
 MASTER_SITES=          http://www.erlang.org/download/
 
diff -r 240dfa055dd8 -r d6174b80811a lang/erlang/distinfo
--- a/lang/erlang/distinfo      Mon Sep 05 15:13:31 2016 +0000
+++ b/lang/erlang/distinfo      Mon Sep 05 16:03:38 2016 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.44 2016/08/09 15:03:15 fhajny Exp $
+$NetBSD: distinfo,v 1.45 2016/09/05 16:03:38 jperkin Exp $
 
 SHA1 (erlang/otp_src_19.0.tar.gz) = 3be958b529de4be19d77eb77f587a76210b43bfd
 RMD160 (erlang/otp_src_19.0.tar.gz) = 9278e1ccfa441ae760b3f713e8b9949f87b318b7
@@ -8,5 +8,6 @@
 SHA1 (patch-am) = b2124f362657d5c6c0c17f0ede74448573fe7912
 SHA1 (patch-ao) = e5801f2a1f1f7e8b75dc35abbc485dc310666a37
 SHA1 (patch-ay) = f5f1accdb11e404ba4779b056228431e3080e4cd
+SHA1 (patch-erts_configure) = dba8d72974e8c493cf2bb90e6b149a84dd9073da
 SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = b7784e5e8e025ca75d5279a63e0cb3f74c54bd6a
 SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
diff -r 240dfa055dd8 -r d6174b80811a lang/erlang/patches/patch-erts_configure
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang/patches/patch-erts_configure  Mon Sep 05 16:03:38 2016 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-erts_configure,v 1.3 2016/09/05 16:03:38 jperkin Exp $
+
+Use GCC -shared.
+
+--- erts/configure.orig        2016-06-21 18:55:58.000000000 +0000
++++ erts/configure
+@@ -44746,7 +44746,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