aboutsummaryrefslogtreecommitdiff
path: root/devel/libgit2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/libgit2/Makefile')
-rw-r--r--devel/libgit2/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/libgit2/Makefile b/devel/libgit2/Makefile
index 0267e18f331f..89fad80bf2d0 100644
--- a/devel/libgit2/Makefile
+++ b/devel/libgit2/Makefile
@@ -40,7 +40,7 @@ BROKEN_sparc64= does not install: thread-local storage not supported
post-patch:
@${REINPLACE_CMD} -e "s|/pkgconfig|/../libdata/pkgconfig|; \
/LIBGIT2_PC_REQUIRES.*zlib/ d" ${WRKSRC}/CMakeLists.txt
-.if defined(WITH_OPENSSL_BASE)
+.if ${SSL_DEFAULT} == base
@${REINPLACE_CMD} -e "/LIBGIT2_PC_REQUIRES.*openssl/ d" \
${WRKSRC}/CMakeLists.txt
.endif