diff options
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
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 |