summaryrefslogtreecommitdiff
path: root/ftp
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 /ftp
parentShuffle MASTER_SITE_RUBY a bit. (diff)
Chase libpq version bump.
Notes
Notes: svn path=/head/; revision=72511
Diffstat (limited to 'ftp')
-rw-r--r--ftp/proftpd-devel/Makefile5
-rw-r--r--ftp/proftpd/Makefile5
2 files changed, 6 insertions, 4 deletions
diff --git a/ftp/proftpd-devel/Makefile b/ftp/proftpd-devel/Makefile
index 8e6da40bae12..9bb8bf158534 100644
--- a/ftp/proftpd-devel/Makefile
+++ b/ftp/proftpd-devel/Makefile
@@ -56,9 +56,10 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.endif
.if defined(WITH_POSTGRES)
+POSTGRESQL_PORT?= databases/postgresql7
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
-LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
-INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
+LIB_DEPENDS+= pq.3:\${PORTSDIR}/${POSTGRESQL_PORT}
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
.endif
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile
index 8e6da40bae12..9bb8bf158534 100644
--- a/ftp/proftpd/Makefile
+++ b/ftp/proftpd/Makefile
@@ -56,9 +56,10 @@ LIBDIRS:=${LIBDIRS}:${PREFIX}/lib/mysql
.endif
.if defined(WITH_POSTGRES)
+POSTGRESQL_PORT?= databases/postgresql7
MODULES:=${MODULES}:mod_sql:mod_sql_postgres
-LIB_DEPENDS+= pq.2:\${PORTSDIR}/databases/postgresql7
-INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include
+LIB_DEPENDS+= pq.3:\${PORTSDIR}/${POSTGRESQL_PORT}
+INCLUDEDIRS:=${INCLUDEDIRS}:${PREFIX}/include/pgsql
LIBDIRS:=${LIBDIRS}:${PREFIX}/lib
.endif