aboutsummaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/exim-devel/Makefile4
-rw-r--r--mail/exim-old/Makefile4
-rw-r--r--mail/exim/Makefile4
3 files changed, 6 insertions, 6 deletions
diff --git a/mail/exim-devel/Makefile b/mail/exim-devel/Makefile
index ce7282f7eb10..c4be89ff4ab0 100644
--- a/mail/exim-devel/Makefile
+++ b/mail/exim-devel/Makefile
@@ -129,8 +129,8 @@ SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,'
.if defined(WITH_PGSQL)
LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
-SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/pgsql/lib -lpq,' \
- -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/pgsql/include,' \
+SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/lib -lpq,' \
+ -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/include/pgsql,' \
-e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,'
.else
SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,'
diff --git a/mail/exim-old/Makefile b/mail/exim-old/Makefile
index ce7282f7eb10..c4be89ff4ab0 100644
--- a/mail/exim-old/Makefile
+++ b/mail/exim-old/Makefile
@@ -129,8 +129,8 @@ SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,'
.if defined(WITH_PGSQL)
LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
-SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/pgsql/lib -lpq,' \
- -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/pgsql/include,' \
+SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/lib -lpq,' \
+ -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/include/pgsql,' \
-e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,'
.else
SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,'
diff --git a/mail/exim/Makefile b/mail/exim/Makefile
index ce7282f7eb10..c4be89ff4ab0 100644
--- a/mail/exim/Makefile
+++ b/mail/exim/Makefile
@@ -129,8 +129,8 @@ SEDLIST+= -e 's,^\# AUTH_PLAINTEXT=,AUTH_PLAINTEXT=,'
.if defined(WITH_PGSQL)
LIB_DEPENDS+= pq.2:${PORTSDIR}/databases/postgresql7
-SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/pgsql/lib -lpq,' \
- -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/pgsql/include,' \
+SEDLIST+= -e 's,XX_PGSQL_LIBS_XX,-L${PREFIX}/lib -lpq,' \
+ -e 's,XX_PGSQL_INCLUDE_XX,-I${PREFIX}/include/pgsql,' \
-e 's,^\# LOOKUP_PGSQL=,LOOKUP_PGSQL=,'
.else
SEDLIST+= -e 's,XX_PGSQL_[^ ]*_XX,,'