svn commit: r471508 - head/www/aria2
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Jun 3 18:17:31 UTC 2018
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 at 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
More information about the svn-ports-all
mailing list