Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2017 11:18:43 +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: r440257 - head/databases/pgbouncer
Message-ID:  <201705061118.v46BIh1M011679@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sat May  6 11:18:43 2017
New Revision: 440257
URL: https://svnweb.freebsd.org/changeset/ports/440257

Log:
  Add CARES option
  
  - Bump PORTREVISION for package change
  
  PR:		218499
  Submitted by:	Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer)

Modified:
  head/databases/pgbouncer/Makefile

Modified: head/databases/pgbouncer/Makefile
==============================================================================
--- head/databases/pgbouncer/Makefile	Sat May  6 11:17:40 2017	(r440256)
+++ head/databases/pgbouncer/Makefile	Sat May  6 11:18:43 2017	(r440257)
@@ -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"
 



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