aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--databases/slony1v2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/databases/slony1v2/Makefile b/databases/slony1v2/Makefile
index 8d6610800e74..a0cd3fb5cbbd 100644
--- a/databases/slony1v2/Makefile
+++ b/databases/slony1v2/Makefile
@@ -7,6 +7,7 @@
PORTNAME= slony1v2
PORTVERSION= 2.0.5
+PORTREVISION= 1
CATEGORIES= databases
MASTER_SITES= http://main.slony.info/downloads/2.0/source/
DISTNAME= slony1-${PORTVERSION}
@@ -16,7 +17,8 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX} \
MAINTAINER= olgeni@FreeBSD.org
COMMENT= PostgreSQL master to multiple replicas replication system
-BUILD_DEPENDS= ${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
+BUILD_DEPENDS= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex \
+ ${LOCALBASE}/bin/postmaster:${PORTSDIR}/databases/postgresql${PGSQL_VER}-server
GNU_CONFIGURE= yes
USE_BISON= build
@@ -36,6 +38,8 @@ CONFLICTS?= slony1-1*
IGNORE_WITH_PGSQL= 73 74 80 81 82
+CONFIGURE_ENV= FLEX=${LOCALBASE}/bin/flex
+
.if defined(WITH_PERLTOOLS)
USE_PERL5= yes
CONFIGURE_ARGS+=--with-perltools=${LOCALBASE}/sbin