Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Jan 2014 15:31:46 +0000 (UTC)
From:      Bernhard Froehlich <decke@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r341847 - head/www/libmicrohttpd
Message-ID:  <201401301531.s0UFVkG3004162@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@endresconsulting.com>
  Approved by:	Hung-Yi Chen <gaod@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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201401301531.s0UFVkG3004162>