Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jun 2018 18:17:29 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r471508 - head/www/aria2
Message-ID:  <201806031817.w53IHTEm038206@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Jun  3 18:17:29 2018
New Revision: 471508
URL: https://svnweb.freebsd.org/changeset/ports/471508

Log:
  Add CARES option
  
  PR:		228712
  Submtited by:	<yorik.sar@gmail.com>

Modified:
  head/www/aria2/Makefile

Modified: head/www/aria2/Makefile
==============================================================================
--- head/www/aria2/Makefile	Sun Jun  3 18:17:23 2018	(r471507)
+++ head/www/aria2/Makefile	Sun Jun  3 18:17:29 2018	(r471508)
@@ -13,7 +13,7 @@ COMMENT=	Yet another download tool
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-OPTIONS_DEFINE=	CA_BUNDLE DOCS NLS SQLITE SSH2
+OPTIONS_DEFINE=	CA_BUNDLE CARES DOCS NLS SQLITE SSH2
 OPTIONS_DEFAULT=SQLITE
 OPTIONS_SUB=	yes
 CA_BUNDLE_DESC=	Use CA bundle from Mozilla Project
@@ -24,7 +24,7 @@ CONFIGURE_ARGS=	--disable-epoll --enable-bittorrent --
 		--enable-threads=posix --enable-websocket \
 		--with-disk-cache=${ARIA2_DISK_CACHE} \
 		--with-libxml2 --with-libz --with-openssl \
-		--without-appletls --without-gnutls --without-libcares \
+		--without-appletls --without-gnutls \
 		--without-libexpat --without-libgcrypt --without-libgmp \
 		--without-libnettle --without-libuv
 CONFIGURE_ENV=	OPENSSL_CFLAGS=-I${OPENSSLINC} \
@@ -43,6 +43,8 @@ PORTDOCS=	*
 CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
 CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
 CA_BUNDLE_RUN_DEPENDS=	${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss
+CARES_CONFIGURE_WITH=	libares
+CARES_LIB_DEPENDS=	libcares.so:dns/c-ares
 NLS_CONFIGURE_OFF=	--disable-nls --without-libintl-prefix
 NLS_CONFIGURE_ON=	--with-libintl-prefix=${LOCALBASE}
 NLS_LDFLAGS=		-lintl



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