aboutsummaryrefslogtreecommitdiff
path: root/www/libmicrohttpd/Makefile
diff options
context:
space:
mode:
authorBernhard Froehlich <decke@FreeBSD.org>2014-01-30 15:31:46 +0000
committerBernhard Froehlich <decke@FreeBSD.org>2014-01-30 15:31:46 +0000
commit577384f1818aa18cec96307d69a1b86f48f83bd5 (patch)
treed5793a4b69e22dfca820bb336d4c5fa2c4692bec /www/libmicrohttpd/Makefile
parent54cc565bf27c14504d46120951a9b7175d39e35e (diff)
downloadports-577384f1818aa18cec96307d69a1b86f48f83bd5.tar.gz
ports-577384f1818aa18cec96307d69a1b86f48f83bd5.zip
Notes
Diffstat (limited to 'www/libmicrohttpd/Makefile')
-rw-r--r--www/libmicrohttpd/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/libmicrohttpd/Makefile b/www/libmicrohttpd/Makefile
index 35e15005228f..180796cceedc 100644
--- a/www/libmicrohttpd/Makefile
+++ b/www/libmicrohttpd/Makefile
@@ -17,9 +17,13 @@ GNU_CONFIGURE= yes
MAKE_ARGS+= pkgconfigdir=${PREFIX}/libdata/pkgconfig
USE_LDCONFIG= yes
-GNUTLS_LIB_DEPENDS= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGNUTLS}
+LIB_DEPENDS+= libgcrypt.so:${PORTSDIR}/security/libgcrypt \
libgnutls.so:${PORTSDIR}/security/gnutls
-GNUTLS_CONFIGURE_ARGS= --with-gnutls=${LOCALBASE} --enable-https
+CONFIGURE_ARGS+= --with-libgcrypt-prefix=${LOCALBASE} --with-gnutls=${LOCALBASE} --enable-https=yes
+.endif
INFO= libmicrohttpd libmicrohttpd-tutorial