pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/security/bearssl bearssl: fix build on SunOS
details: https://anonhg.NetBSD.org/pkgsrc/rev/d6ad0c142fb0
branches: trunk
changeset: 368936:d6ad0c142fb0
user: wiedi <wiedi%pkgsrc.org@localhost>
date: Fri Sep 22 22:00:57 2017 +0000
description:
bearssl: fix build on SunOS
Needs to link -lsocket -lnsl
diffstat:
security/bearssl/Makefile | 4 +++-
security/bearssl/distinfo | 3 ++-
security/bearssl/patches/patch-conf_Unix.mk | 14 ++++++++++++++
3 files changed, 19 insertions(+), 2 deletions(-)
diffs (48 lines):
diff -r b7a10c537f8e -r d6ad0c142fb0 security/bearssl/Makefile
--- a/security/bearssl/Makefile Fri Sep 22 21:09:08 2017 +0000
+++ b/security/bearssl/Makefile Fri Sep 22 22:00:57 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2017/06/14 01:14:30 agc Exp $
+# $NetBSD: Makefile,v 1.4 2017/09/22 22:00:57 wiedi Exp $
DISTNAME= bearssl-0.4
CATEGORIES= security
@@ -11,6 +11,8 @@
INSTALLATION_DIRS= bin include lib
+LDFLAGS.SunOS+= -lsocket -lnsl
+
do-install:
cd ${WRKSRC}/build && \
${INSTALL_PROGRAM} brssl ${DESTDIR}${PREFIX}/bin
diff -r b7a10c537f8e -r d6ad0c142fb0 security/bearssl/distinfo
--- a/security/bearssl/distinfo Fri Sep 22 21:09:08 2017 +0000
+++ b/security/bearssl/distinfo Fri Sep 22 22:00:57 2017 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/06/14 01:14:30 agc Exp $
+$NetBSD: distinfo,v 1.3 2017/09/22 22:00:57 wiedi Exp $
SHA1 (bearssl-0.4.tar.gz) = 3246db6d5949a86b1889c1921ae9496d7b962c47
RMD160 (bearssl-0.4.tar.gz) = e0f40ea16bfa3fc729407ddb3e176fa4ea8c259e
SHA512 (bearssl-0.4.tar.gz) = ff197c36a9e1a3e6b2e5b29c880f408518600ddc2a106522d097d6f4c824f3c5206c320194d8cfcc658eebb9a14e8175387e71d8a1d428562e028caa38c717ef
Size (bearssl-0.4.tar.gz) = 633401 bytes
+SHA1 (patch-conf_Unix.mk) = 452629d96619ddd63a726b2ae933610187d31a68
diff -r b7a10c537f8e -r d6ad0c142fb0 security/bearssl/patches/patch-conf_Unix.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/security/bearssl/patches/patch-conf_Unix.mk Fri Sep 22 22:00:57 2017 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-conf_Unix.mk,v 1.1 2017/09/22 22:00:57 wiedi Exp $
+
+Don't overwrite LDFLAGS
+--- conf/Unix.mk.orig 2017-04-03 19:42:14.000000000 +0000
++++ conf/Unix.mk
+@@ -53,7 +53,7 @@ LDDLLOUT = -o
+
+ # Static linker.
+ LD = gcc
+-LDFLAGS =
++#LDFLAGS =
+ LDOUT = -o
+
+ # C# compiler; we assume usage of Mono.
Home |
Main Index |
Thread Index |
Old Index