From cc7fb16325259807a06cc6067c877c204db0c72f Mon Sep 17 00:00:00 2001 From: Sunpoet Po-Chuan Hsieh Date: Sat, 6 May 2017 11:18:43 +0000 Subject: [PATCH] Add CARES option - Bump PORTREVISION for package change PR: 218499 Submitted by: Mikhail Tsatsenko (maintainer) --- databases/pgbouncer/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"