diff options
Diffstat (limited to 'mail/exim-old')
-rw-r--r-- | mail/exim-old/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile index d5b890c5c5dd..35c0f0196a91 100644 --- a/mail/exim-old/Makefile +++ b/mail/exim-old/Makefile @@ -24,6 +24,8 @@ PKGMESSAGE= ${FILESDIR}/POST-INSTALL-NOTES MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH} +POSTGRESQL_PORT?= databases/postgresql7 + # If WITH_EXIMON is defined, the eximon monitor, which requires X, # will be made a dependency. Note that using WITH_EXIMON will cause # XFree86 to be installed if it is not present. @@ -150,7 +152,7 @@ SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,' .endif .if defined(WITH_PGSQL) -LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7 +LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT} SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${LOCALBASE}/lib -lpq,' \ -e 's,XX_PGSQL_INCLUDE_XX,-I${LOCALBASE}/include/pgsql,' \ -e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,' |