summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/pgbouncer/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/pgbouncer/Makefile b/databases/pgbouncer/Makefile
index 15d60720d2e1..69644f23a1a1 100644
--- a/databases/pgbouncer/Makefile
+++ b/databases/pgbouncer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= pgbouncer
PORTVERSION= 1.5.4
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://pgfoundry.org/frs/download.php/3393/
@@ -51,6 +51,8 @@ PLIST_SUB+= PGBOUNCER_USER="${USERS}" \
PGBOUNCER_LOGDIR="${PGBOUNCER_LOGDIR}" \
PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+SUB_LIST+= PGBOUNCER_RUNDIR="${PGBOUNCER_RUNDIR}"
+
post-patch:
@${REINPLACE_CMD} -e "s|= pgbouncer.log|= ${PGBOUNCER_LOGDIR}/pgbouncer.log|g" \
-e "s|= pgbouncer.pid|= ${PGBOUNCER_RUNDIR}/pgbouncer.pid|g" \