Add CARES option

- Bump PORTREVISION for package change

PR:		218499
Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2017-05-06 11:18:43 +00:00
parent 6a35ad7610
commit cc7fb16325
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=440257

View File

@ -3,7 +3,7 @@
PORTNAME= pgbouncer
PORTVERSION= 1.7.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= databases
MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \
http://pgbouncer.github.io/downloads/files/${PORTVERSION}/
@ -26,6 +26,10 @@ USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
USES= gmake ssl
OPTIONS_DEFINE= CARES
CARES_LIB_DEPENDS= libcares.so:dns/c-ares
CARES_CONFIGURE_WITH= cares
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns
CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread"