aboutsummaryrefslogtreecommitdiff
path: root/databases/pgbouncer
diff options
context:
space:
mode:
authorMatthew Seaman <matthew@FreeBSD.org>2016-01-18 11:37:39 +0000
committerMatthew Seaman <matthew@FreeBSD.org>2016-01-18 11:37:39 +0000
commit593d2f3a3aa18d97792602ed389b5db8a692c144 (patch)
tree4ac25f5e07265caaffdd6bb2249a977dc3b62a88 /databases/pgbouncer
parent8023e0b4d13fb9651f00866bd8657bec7a433ca4 (diff)
downloadports-593d2f3a3aa18d97792602ed389b5db8a692c144.tar.gz
ports-593d2f3a3aa18d97792602ed389b5db8a692c144.zip
Notes
Diffstat (limited to 'databases/pgbouncer')
-rw-r--r--databases/pgbouncer/Makefile11
-rw-r--r--databases/pgbouncer/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 17c83c481fb5..f5b8f2ebea2e 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= pgbouncer
-PORTVERSION= 1.6.1
+PORTVERSION= 1.7
CATEGORIES= databases
MASTER_SITES= https://pgbouncer.github.io/downloads/files/${PORTVERSION}/ \
http://pgbouncer.github.io/downloads/files/${PORTVERSION}/
@@ -24,6 +24,7 @@ USE_RC_SUBR= pgbouncer
GNU_CONFIGURE= yes
USES= gmake
+USE_OPENSSL= yes
CONFIGURE_ARGS= --with-libevent=${LOCALBASE} --enable-evdns
CONFIGURE_ENV+= PTHREAD_LIBS="-lpthread"
@@ -40,6 +41,12 @@ PLIST_SUB+= PGBOUNCER_USER="${USERS}" \
PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000
+WITH_OPENSSL_PORT= yes
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s|= pgbouncer.log|= ${PGBOUNCER_LOGDIR}/pgbouncer.log|g" \
-e "s|= pgbouncer.pid|= ${PGBOUNCER_RUNDIR}/pgbouncer.pid|g" \
@@ -58,4 +65,4 @@ do-install:
@${MKDIR} ${STAGEDIR}${PGBOUNCER_RUNDIR} \
${STAGEDIR}${PGBOUNCER_LOGDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/databases/pgbouncer/distinfo b/databases/pgbouncer/distinfo
index cafb4482960d..b0247969eabd 100644
--- a/databases/pgbouncer/distinfo
+++ b/databases/pgbouncer/distinfo
@@ -1,2 +1,2 @@
-SHA256 (pgbouncer-1.6.1.tar.gz) = 40ff5cd84399b4da3ba864ad654fe155a0ed085261e68f3e31b1117812b17056
-SIZE (pgbouncer-1.6.1.tar.gz) = 431076
+SHA256 (pgbouncer-1.7.tar.gz) = a53fd6a3bc4c51a77cbf0437788b31015287c564427b2c3037a85e93f1500cea
+SIZE (pgbouncer-1.7.tar.gz) = 459080