aboutsummaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-06 11:18:43 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2017-05-06 11:18:43 +0000
commitcc7fb16325259807a06cc6067c877c204db0c72f (patch)
tree6b8552f75a2f94839f55df19b0457587fb9ac928 /databases
parent6a35ad7610423c7fb20d2f56f1b2cf5313950524 (diff)
downloadports-cc7fb16325259807a06cc6067c877c204db0c72f.tar.gz
ports-cc7fb16325259807a06cc6067c877c204db0c72f.zip
Add CARES option
- Bump PORTREVISION for package change PR: 218499 Submitted by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)
Notes
Notes: svn path=/head/; revision=440257
Diffstat (limited to 'databases')
-rw-r--r--databases/pgbouncer/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 37c64fcae10c..015ad437327c 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -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"