summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2020-07-28 08:49:54 +0000
committerwiz <wiz@pkgsrc.org>2020-07-28 08:49:54 +0000
commitebc7e2899c0bb092812ee03c9e09db60189877a5 (patch)
treef04d45512128c3848776ded790e3f9e43a152799 /security
parent5d706b46b93ff4c4ce0f82e9573bf77ab1b6243e (diff)
downloadpkgsrc-ebc7e2899c0bb092812ee03c9e09db60189877a5.tar.gz
bearssl: honor CFLAGS and LDFLAGS
Diffstat (limited to 'security')
-rw-r--r--security/bearssl/Makefile3
-rw-r--r--security/bearssl/distinfo4
-rw-r--r--security/bearssl/patches/patch-conf_Unix.mk23
3 files changed, 23 insertions, 7 deletions
diff --git a/security/bearssl/Makefile b/security/bearssl/Makefile
index 8b22e097973..dd7b7b7fba1 100644
--- a/security/bearssl/Makefile
+++ b/security/bearssl/Makefile
@@ -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 --git a/security/bearssl/distinfo b/security/bearssl/distinfo
index fa3cf8d0e43..dd6539e3323 100644
--- a/security/bearssl/distinfo
+++ b/security/bearssl/distinfo
@@ -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 --git a/security/bearssl/patches/patch-conf_Unix.mk b/security/bearssl/patches/patch-conf_Unix.mk
index 16ce1107a4f..ac96ea8ac0c 100644
--- a/security/bearssl/patches/patch-conf_Unix.mk
+++ b/security/bearssl/patches/patch-conf_Unix.mk
@@ -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