summaryrefslogtreecommitdiff
path: root/net/ucspi-ssl
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2017-06-17 03:49:04 +0000
committerschmonz <schmonz@pkgsrc.org>2017-06-17 03:49:04 +0000
commitd7334c90a7c4eac1db3965afc6ce9000527a86a2 (patch)
tree028a537aaa42ec75ba7c1286301a19fdb4c5fe0f /net/ucspi-ssl
parentefdc638acc14c09c9a0176ebd558f9e3825d44be (diff)
downloadpkgsrc-d7334c90a7c4eac1db3965afc6ce9000527a86a2.tar.gz
Rather than try to detect -ldl, use known values. Fixes NetBSD build.
Diffstat (limited to 'net/ucspi-ssl')
-rw-r--r--net/ucspi-ssl/Makefile3
-rw-r--r--net/ucspi-ssl/distinfo3
-rw-r--r--net/ucspi-ssl/patches/patch-src_print-dl.sh15
3 files changed, 19 insertions, 2 deletions
diff --git a/net/ucspi-ssl/Makefile b/net/ucspi-ssl/Makefile
index b6b5b8a8c49..f2c3d3e77bb 100644
--- a/net/ucspi-ssl/Makefile
+++ b/net/ucspi-ssl/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2017/06/05 14:24:26 ryoon Exp $
+# $NetBSD: Makefile,v 1.17 2017/06/17 03:49:04 schmonz Exp $
#
DISTNAME= ucspi-ssl-0.99
@@ -53,5 +53,6 @@ do-install:
. endfor
.include "../../security/openssl/buildlink3.mk"
+.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/djbware.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ucspi-ssl/distinfo b/net/ucspi-ssl/distinfo
index 03350c11073..ff869801dfd 100644
--- a/net/ucspi-ssl/distinfo
+++ b/net/ucspi-ssl/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.4 2017/05/20 01:39:12 schmonz Exp $
+$NetBSD: distinfo,v 1.5 2017/06/17 03:49:04 schmonz Exp $
SHA1 (ucspi-ssl-0.99.tgz) = 4613681aaf7096a9851104779bfabfdaec167819
RMD160 (ucspi-ssl-0.99.tgz) = aec40fcd5d5a9baa6f864130bc82a3aa779a7cbb
SHA512 (ucspi-ssl-0.99.tgz) = 2fd29d0f6b31b54f2b53206c6ccd0cf35c759834f34aab26d2a883319d33ff2257163150fc85a2e450c7bd81ce7bbed7b59c4013d71a35a9b3446a6338cb406e
Size (ucspi-ssl-0.99.tgz) = 112640 bytes
+SHA1 (patch-src_print-dl.sh) = 456ae878c5116bbdfab1e9b4c049f6e4e80bc2b1
diff --git a/net/ucspi-ssl/patches/patch-src_print-dl.sh b/net/ucspi-ssl/patches/patch-src_print-dl.sh
new file mode 100644
index 00000000000..174e535067a
--- /dev/null
+++ b/net/ucspi-ssl/patches/patch-src_print-dl.sh
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_print-dl.sh,v 1.1 2017/06/17 03:49:04 schmonz Exp $
+
+Rather than try to detect -ldl, use known values. Fixes NetBSD build.
+
+--- src/print-dl.sh.orig 2016-08-02 12:51:52.000000000 +0000
++++ src/print-dl.sh
+@@ -1,5 +1,8 @@
+ ssllib="`head -1 ../conf-ssllib`"
+
++echo "$ssllib ${DL_LIBS}"
++exit
++
+ dlflag=0
+
+ rm -f trycpp.o