Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/bearssl bearssl: honor CFLAGS and LDFLAGS



details:   https://anonhg.NetBSD.org/pkgsrc/rev/664669c37b78
branches:  trunk
changeset: 436165:664669c37b78
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Tue Jul 28 08:49:54 2020 +0000

description:
bearssl: honor CFLAGS and LDFLAGS

diffstat:

 security/bearssl/Makefile                   |   3 ++-
 security/bearssl/distinfo                   |   4 ++--
 security/bearssl/patches/patch-conf_Unix.mk |  23 +++++++++++++++++++----
 3 files changed, 23 insertions(+), 7 deletions(-)

diffs (58 lines):

diff -r f9169c431c0d -r 664669c37b78 security/bearssl/Makefile
--- a/security/bearssl/Makefile Tue Jul 28 07:07:21 2020 +0000
+++ b/security/bearssl/Makefile Tue Jul 28 08:49:54 2020 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2019/01/21 06:59:58 agc Exp $
+# $NetBSD: Makefile,v 1.7 2020/07/28 08:49:54 wiz Exp $
 
 DISTNAME=      bearssl-0.6
+PKGREVISION=   1
 CATEGORIES=    security
 MASTER_SITES=  https://bearssl.org/
 
diff -r f9169c431c0d -r 664669c37b78 security/bearssl/distinfo
--- a/security/bearssl/distinfo Tue Jul 28 07:07:21 2020 +0000
+++ b/security/bearssl/distinfo Tue Jul 28 08:49:54 2020 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.5 2019/01/21 06:59:58 agc Exp $
+$NetBSD: distinfo,v 1.6 2020/07/28 08:49:54 wiz Exp $
 
 SHA1 (bearssl-0.6.tar.gz) = 443761821576544cd539206b1aba99a647b3137a
 RMD160 (bearssl-0.6.tar.gz) = 15cbb065fcccfac434e097a98e054d3b0498e2ea
 SHA512 (bearssl-0.6.tar.gz) = f9ed25683cfc6c4abe7f1203a2b82ed101ee4c9e0f9ab60755b6a09c8d1e8e4f64d413624e7bb9c4b0033f909a2e4568a1d916cc6ce4736222900691e1f8359a
 Size (bearssl-0.6.tar.gz) = 765094 bytes
-SHA1 (patch-conf_Unix.mk) = 5f85f1803b1e631a6011e3f8fc70aea2c1305d7a
+SHA1 (patch-conf_Unix.mk) = b3f005ee2ec39a2f9eca5b51f2af904f936a81ed
diff -r f9169c431c0d -r 664669c37b78 security/bearssl/patches/patch-conf_Unix.mk
--- a/security/bearssl/patches/patch-conf_Unix.mk       Tue Jul 28 07:07:21 2020 +0000
+++ b/security/bearssl/patches/patch-conf_Unix.mk       Tue Jul 28 08:49:54 2020 +0000
@@ -1,10 +1,25 @@
-$NetBSD: patch-conf_Unix.mk,v 1.2 2019/01/21 06:59:58 agc Exp $
+$NetBSD: patch-conf_Unix.mk,v 1.3 2020/07/28 08:49:54 wiz Exp $
 
 Don't overwrite LDFLAGS
 
---- conf/Unix.mk.orig  2018-08-14 13:41:54.000000000 -0700
-+++ conf/Unix.mk       2019-01-20 22:50:36.191161113 -0800
-@@ -53,7 +53,7 @@
+--- conf/Unix.mk.orig  2018-08-14 20:41:54.000000000 +0000
++++ conf/Unix.mk
+@@ -38,7 +38,7 @@ MKDIR = mkdir -p
+ 
+ # C compiler and flags.
+ CC = cc
+-CFLAGS = -W -Wall -Os -fPIC
++CFLAGS += -W -Wall -Os -fPIC
+ CCOUT = -c -o 
+ 
+ # Static library building tool.
+@@ -48,12 +48,12 @@ AROUT =
+ 
+ # DLL building tool.
+ LDDLL = cc
+-LDDLLFLAGS = -shared
++LDDLLFLAGS = -shared ${LDFLAGS}
+ LDDLLOUT = -o 
  
  # Static linker.
  LD = cc



Home | Main Index | Thread Index | Old Index