aboutsummaryrefslogtreecommitdiff
path: root/databases/sqlrelay/Makefile
diff options
context:
space:
mode:
authorSean Chittenden <seanc@FreeBSD.org>2003-01-04 15:53:39 +0000
committerSean Chittenden <seanc@FreeBSD.org>2003-01-04 15:53:39 +0000
commitb2c46c868cc96c81b525dff6d171894917d46f98 (patch)
treec66dd220e2259f4aa778ff1bb17f3f5de39db32d /databases/sqlrelay/Makefile
parente9ef928f2046c0f8ce94551ee6e9d9ec43bd08e4 (diff)
downloadports-b2c46c868cc96c81b525dff6d171894917d46f98.tar.gz
ports-b2c46c868cc96c81b525dff6d171894917d46f98.zip
Notes
Diffstat (limited to 'databases/sqlrelay/Makefile')
-rw-r--r--databases/sqlrelay/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/sqlrelay/Makefile b/databases/sqlrelay/Makefile
index 88ef9e257cc0..366031b5e2b2 100644
--- a/databases/sqlrelay/Makefile
+++ b/databases/sqlrelay/Makefile
@@ -31,6 +31,8 @@ CONFIGURE_ARGS= ${SQLRELAY_CONFIGURE_ARGS} \
MAKE_ARGS= VERSION="${PORTVERSION:R}"
INSTALLS_SHLIB= yes
+POSTGRESQL_PORT?= databases/postgresql7
+
.include "${.CURDIR}/Makefile.common"
.if defined(PACKAGE_BUILDING) || defined(BATCH)
@@ -82,7 +84,7 @@ IF_MSQL= "@comment "
.endif
.if defined(WITH_POSTGRESQL) && ${WITH_POSTGRESQL:L} != no
-LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
+LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
CONFIGURE_ARGS+= --with-postgresql-prefix="${LOCALBASE}"
IF_POSTGRESQL= ""
.else