aboutsummaryrefslogtreecommitdiffstats
path: root/www/libmicrohttpd
diff options
context:
space:
mode:
Diffstat (limited to 'www/libmicrohttpd')
-rw-r--r--www/libmicrohttpd/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index 7c926affbb30..642229fd7aba 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -12,10 +12,10 @@ COMMENT= C library for embedding HTTP server functionality
LICENSE= LGPL21
-OPTIONS= GNUTLS "Build with gnutls to support ssl" off
+OPTIONS_DEFINE= GNUTLS
.include <bsd.port.options.mk>
-.if defined(WITH_GNUTLS)
+.if ${PORT_OPTIONS:MGNUTLS}
LIB_DEPENDS+= gcrypt:${PORTSDIR}/security/libgcrypt \
gnutls:${PORTSDIR}/security/gnutls
CONFIGURE_ARGS+=--with-gnutls=${LOCALBASE} --enable-https