summaryrefslogtreecommitdiff
path: root/databases/libzdb
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2018-03-03 20:51:08 +0000
committertnn <tnn@pkgsrc.org>2018-03-03 20:51:08 +0000
commit1be481f3e81258f3974000e480fd54e1b77458cc (patch)
tree410bbbb43433f93df918c7881fa9b77d13294b80 /databases/libzdb
parent8e985f9bd659af1570835bc76b454874f969aecf (diff)
downloadpkgsrc-1be481f3e81258f3974000e480fd54e1b77458cc.tar.gz
libzdb: fix openssl configure test's usage of deprecated symbol
Diffstat (limited to 'databases/libzdb')
-rw-r--r--databases/libzdb/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/libzdb/Makefile b/databases/libzdb/Makefile
index d277607a063..b51bf4df5ee 100644
--- a/databases/libzdb/Makefile
+++ b/databases/libzdb/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2017/11/30 16:45:01 adam Exp $
+# $NetBSD: Makefile,v 1.13 2018/03/03 20:51:08 tnn Exp $
DISTNAME= libzdb-3.1
PKGREVISION= 8
@@ -16,6 +16,12 @@ USE_TOOLS+= gmake
PKGCONFIG_OVERRIDE+= zdb.pc.in
+SUBST_CLASSES+= ossl
+SUBST_STAGE.ossl= pre-configure
+SUBST_MESSAGE.ossl= fix openssl configure test usage of deprecated symbol
+SUBST_FILES.ossl= configure
+SUBST_SED.ossl= -e 's,SSL_library_init,SSL_CTX_new,g'
+
.include "options.mk"
.include "../../mk/bsd.pkg.mk"