summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2018-01-25 19:52:38 +0000
committermarkd <markd@pkgsrc.org>2018-01-25 19:52:38 +0000
commit79a6c5ff2458919c2d40c65a2ed4370aa3c44e94 (patch)
tree486fe1d83051ae62695cdf5b7bf5e51b744149a9 /security
parent6508d9d389304e4eeef0c2508bbcc82396b16992 (diff)
downloadpkgsrc-79a6c5ff2458919c2d40c65a2ed4370aa3c44e94.tar.gz
libssh: fix options.mk for current cmake based build
Diffstat (limited to 'security')
-rw-r--r--security/libssh/options.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/security/libssh/options.mk b/security/libssh/options.mk
index be139bd5a00..e4b9ef7d5fb 100644
--- a/security/libssh/options.mk
+++ b/security/libssh/options.mk
@@ -1,6 +1,6 @@
-# $NetBSD: options.mk,v 1.2 2015/11/18 21:00:51 christos Exp $
+# $NetBSD: options.mk,v 1.3 2018/01/25 19:52:38 markd Exp $
-PKG_OPTIONS_VAR= PKG_OPTIONS.${PKGNAME}
+PKG_OPTIONS_VAR= PKG_OPTIONS.libssh
PKG_OPTIONS_REQUIRED_GROUPS= crypto
PKG_OPTIONS_GROUP.crypto= openssl libgcrypt
#PKG_SUPPORTED_OPTIONS= compression
@@ -16,14 +16,12 @@ CONFIGURE_ARGS+= --with-libz=${BUILDLINK_PREFIX.zlib:Q}
.if !empty(PKG_OPTIONS:Mopenssl)
BUILDLINK_API_DEPENDS.openssl+= openssl>=0.9.8
-CONFIGURE_ARGS+= --with-libgcrypt=no
-CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
+CMAKE_ARGS+= -DWITH_GCRYPT:BOOL=OFF
.include "../../security/openssl/buildlink3.mk"
.endif
.if !empty(PKG_OPTIONS:Mlibgcrypt)
BUILDLINK_API_DEPENDS.libgcrypt+= libgcrypt>=1.4
-CONFIGURE_ARGS+= --with-libgcrypt=${BUILDLINK_PREFIX.libgcrypt:Q}
-CONFIGURE_ARGS+= --with-openssl=no
+CMAKE_ARGS+= -DWITH_GCRYPT:BOOL=ON
.include "../../security/libgcrypt/buildlink3.mk"
.endif