summaryrefslogtreecommitdiff
path: root/mail/courier
diff options
context:
space:
mode:
authorPalle Girgensohn <girgen@FreeBSD.org>2005-01-31 00:35:55 +0000
committerPalle Girgensohn <girgen@FreeBSD.org>2005-01-31 00:35:55 +0000
commit34fa6c853efa04ca648d3d4187d4aec40a00fc0d (patch)
tree3445b3e9b6e7650fd127ec078394a0d7a8e79076 /mail/courier
parentSplit the postgresql ports into a server and a client part. (diff)
Split the postgresql ports into a server and a client part.
All ports depending on postgresql shall use the USE_PGSQL=yes knob defined in Mk/bsd.ports.mk. Bumping portrevisions where needed. PR: 75344 Approved by: portmgr@ (kris), ade & sean (mentors)
Notes
Notes: svn path=/head/; revision=127737
Diffstat (limited to 'mail/courier')
-rw-r--r--mail/courier/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/courier/Makefile b/mail/courier/Makefile
index c0be3f488302..f67ae8507111 100644
--- a/mail/courier/Makefile
+++ b/mail/courier/Makefile
@@ -79,7 +79,7 @@ CONFIGURE_ARGS= --disable-root-check --with-db=db \
--with-mailgroup=${MAILGRP} \
--with-mailuid=${MAILUID} \
--with-mailgid=${MAILGID} \
- --with-etcdir=${ETCDIR} \
+ --with-etcdir=${ETCDIR} \
--sysconfdir=${SYSCONFDIR} \
--with-userdb=${USERDB} \
--datadir=${DATADIR} \
@@ -146,7 +146,7 @@ OPTIONS+=off
.endif
OPTIONS+=PGSQL "PostgreSQL authentication support"
-.if exists(${PGSQLBASE}/lib/libpq.so.3) || defined(WITH_PGSQL)
+.if exists(${LOCALBASE}/lib/libpq.so) || defined(WITH_PGSQL)
OPTIONS+=on
.else
OPTIONS+=off
@@ -250,10 +250,10 @@ PLIST_SUB+= SUB_MYSQL="@comment "
.if defined(WITH_PGSQL) && !defined(WITHOUT_PGSQL)
PKGNAMESUFFIX!= ${ECHO} ${PKGNAMESUFFIX}-pgsql
-LIB_DEPENDS+= pq.3:${PORTSDIR}/databases/postgresql7
+USE_PGSQL= yes
CONFIGURE_ARGS+=--with-authpgsql \
- --with-pgsql-libs=${PGSQLBASE}/lib \
- --with-pgsql-includes=${PGSQLINCLUDES}
+ --with-pgsql-libs=${LOCALBASE}/lib \
+ --with-pgsql-includes=${LOCALBASE}/include
PLIST_SUB+= SUB_PGSQL=""
.else
CONFIGURE_ARGS+=--without-authpgsql