summaryrefslogtreecommitdiff
path: root/archivers/bsdtar/Makefile
diff options
context:
space:
mode:
authorryoon <ryoon@pkgsrc.org>2018-02-13 12:50:40 +0000
committerryoon <ryoon@pkgsrc.org>2018-02-13 12:50:40 +0000
commit9f7ba2fc52f924710e18ba64e20c2104bd69d1fc (patch)
treec94223c6b5b7d478721fe46933877024f6ec3211 /archivers/bsdtar/Makefile
parent38badeccf57c2379b2b9fc39cb167c4f4bb5f473 (diff)
downloadpkgsrc-9f7ba2fc52f924710e18ba64e20c2104bd69d1fc.tar.gz
Fix build with OpenSSL 1.1 under NetBSD 8.99.12
Diffstat (limited to 'archivers/bsdtar/Makefile')
-rw-r--r--archivers/bsdtar/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/archivers/bsdtar/Makefile b/archivers/bsdtar/Makefile
index 204266f4d59..e0ea5f3866e 100644
--- a/archivers/bsdtar/Makefile
+++ b/archivers/bsdtar/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.24 2017/11/25 15:48:49 bsiegert Exp $
+# $NetBSD: Makefile,v 1.25 2018/02/13 12:50:40 ryoon Exp $
.include "../../archivers/libarchive/Makefile.common"
.include "../../mk/bsd.prefs.mk"
@@ -33,6 +33,8 @@ LDFLAGS+= -L${WRKDIR}/zlib
.endif
.if empty(USE_BUILTIN.openssl:M[yY][eE][sS])
CONFIGURE_ARGS+= --without-openssl
+.else
+LDFLAGS+= -lcrypto
.endif
.if empty(USE_BUILTIN.xz:M[yY][eE][sS])
CONFIGURE_ARGS+= --without-lzma