svn commit: r341847 - head/www/libmicrohttpd
Bernhard Froehlich
decke at FreeBSD.org
Thu Jan 30 15:31:46 UTC 2014
Author: decke
Date: Thu Jan 30 15:31:46 2014
New Revision: 341847
URL: http://svnweb.freebsd.org/changeset/ports/341847
QAT: https://qat.redports.org/buildarchive/r341847/
Log:
- Fix handling of GNUTLS support
PR: ports/185950
Submitted by: Claus Endres <claus at endresconsulting.com>
Approved by: Hung-Yi Chen <gaod at hychen.org> (maintainer)
Modified:
head/www/libmicrohttpd/Makefile
Modified: head/www/libmicrohttpd/Makefile
==============================================================================
--- head/www/libmicrohttpd/Makefile Thu Jan 30 15:30:13 2014 (r341846)
+++ head/www/libmicrohttpd/Makefile Thu Jan 30 15:31:46 2014 (r341847)
@@ -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
More information about the svn-ports-all
mailing list