diff --git a/security/libssh/Makefile b/security/libssh/Makefile index 24332f19f610..44334183ec86 100644 --- a/security/libssh/Makefile +++ b/security/libssh/Makefile @@ -12,17 +12,16 @@ COMMENT= Library implementing the SSH1 and SSH2 protocol LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/COPYING -OPTIONS_DEFINE= SSH1 STATIC +OPTIONS_DEFINE= SSH1 STATIC GSSAPI OPTIONS_RADIO= CRYPTO OPTIONS_RADIO_CRYPTO= GCRYPT OPENSSL -OPTIONS_DEFAULT= OPENSSL STATIC +OPTIONS_DEFAULT= OPENSSL STATIC GSSAPI OPTIONS_SUB= yes USES= cmake cpe tar:xz USE_LDCONFIG= yes CMAKE_ARGS= -DWITH_EXAMPLES:BOOL=OFF \ - -DWITH_GSSAPI:BOOL=ON \ -DWITH_TESTING:BOOL=OFF \ -DWITH_ZLIB:BOOL=ON @@ -39,6 +38,9 @@ SSH1_CMAKE_OFF= -DWITH_SSH1:BOOL=OFF STATIC_CMAKE_ON= -DWITH_STATIC_LIB:BOOL=ON STATIC_CMAKE_OFF= -DWITH_STATIC_LIB:BOOL=OFF +GSSAPI_CMAKE_ON= -DWITH_GSSAPI:BOOL=ON +GSSAPI_CMAKE_OFF= -DWITH_GSSAPI:BOOL=OFF + post-patch: ${RM} ${PATCH_WRKSRC}/cmake/Modules/UseDoxygen.cmake ${REINPLACE_CMD} \