pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/erlang erlang: Compile via CC wrapper to ensure c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/81c4b11ff9ee
branches:  trunk
changeset: 369776:81c4b11ff9ee
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 04 16:20:51 2017 +0000

description:
erlang: Compile via CC wrapper to ensure correct flags.

Fixes SSP build of crypto_callback library.  Bump PKGREVISION.

diffstat:

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

diffs (47 lines):

diff -r adc973828981 -r 81c4b11ff9ee lang/erlang/Makefile
--- a/lang/erlang/Makefile      Wed Oct 04 15:46:46 2017 +0000
+++ b/lang/erlang/Makefile      Wed Oct 04 16:20:51 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.80 2016/12/17 13:06:18 rillig Exp $
+# $NetBSD: Makefile,v 1.81 2017/10/04 16:20:51 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 adc973828981 -r 81c4b11ff9ee lang/erlang/distinfo
--- a/lang/erlang/distinfo      Wed Oct 04 15:46:46 2017 +0000
+++ b/lang/erlang/distinfo      Wed Oct 04 16:20:51 2017 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.52 2017/10/02 18:10:38 fhajny Exp $
+$NetBSD: distinfo,v 1.53 2017/10/04 16:20:51 jperkin Exp $
 
 SHA1 (erlang/otp_src_20.1.tar.gz) = 8facdb71696118b5c58238e57106ca23d14166d0
 RMD160 (erlang/otp_src_20.1.tar.gz) = 65ed1ad934dea860f277648663db714881b9cb97
@@ -9,4 +9,5 @@
 SHA1 (patch-erts_configure) = dba8d72974e8c493cf2bb90e6b149a84dd9073da
 SHA1 (patch-erts_emulator_drivers_common_inet__drv.c) = b7784e5e8e025ca75d5279a63e0cb3f74c54bd6a
 SHA1 (patch-erts_emulator_sys_common_erl__poll.c) = b2068ed4f1994407cb2ec3cd10220bebae85b01d
+SHA1 (patch-lib_crypto_c__src_Makefile.in) = 0ab1db36c03999524e933d60f913ff5608b0622e
 SHA1 (patch-make_output.mk.in) = d7b3da58bfb471d52c41242e2a03d1598ce24e62
diff -r adc973828981 -r 81c4b11ff9ee lang/erlang/patches/patch-lib_crypto_c__src_Makefile.in
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang/patches/patch-lib_crypto_c__src_Makefile.in   Wed Oct 04 16:20:51 2017 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-lib_crypto_c__src_Makefile.in,v 1.1 2017/10/04 16:20:51 jperkin Exp $
+
+Compile via CC wrapper to ensure correct flags.
+
+--- lib/crypto/c_src/Makefile.in.orig  2017-06-20 18:56:09.000000000 +0000
++++ lib/crypto/c_src/Makefile.in
+@@ -156,7 +156,7 @@ $(LIBDIR)/crypto$(TYPEMARKER).dll: $(CRY
+ ifeq ($(DYNAMIC_CRYPTO_LIB),yes)
+ $(LIBDIR)/crypto_callback$(TYPEMARKER).so: $(CALLBACK_OBJS)
+       $(INSTALL_DIR) $(LIBDIR)
+-      $(LD) $(LDFLAGS) -o $@ $^ $(LDLIBS)
++      $(V_CC) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+ 
+ $(LIBDIR)/crypto_callback$(TYPEMARKER).dll: $(CALLBACK_OBJS)
+       $(INSTALL_DIR) $(LIBDIR)



Home | Main Index | Thread Index | Old Index