aboutsummaryrefslogtreecommitdiffstats
path: root/www/libmicrohttpd
diff options
context:
space:
mode:
authorflo <flo@FreeBSD.org>2013-02-07 06:56:48 +0800
committerflo <flo@FreeBSD.org>2013-02-07 06:56:48 +0800
commit63461c50bee993a269565e5d90b50d2e848ef9ae (patch)
treea982f014e0ba5f6ce388470225c14bf11a65bfb1 /www/libmicrohttpd
parent975060bca8d746b3d1020e04c30e15f18e135798 (diff)
downloadfreebsd-ports-gnome-63461c50bee993a269565e5d90b50d2e848ef9ae.tar.gz
freebsd-ports-gnome-63461c50bee993a269565e5d90b50d2e848ef9ae.tar.zst
freebsd-ports-gnome-63461c50bee993a269565e5d90b50d2e848ef9ae.zip
Convert to optionsng
Prodded by: bapt
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