summaryrefslogtreecommitdiff
path: root/mail/postfix21/scripts/configure.postfix
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2003-06-02 15:32:39 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2003-06-02 15:32:39 +0000
commit00674940cd2c84a88f2f5ee61927787c160fecf8 (patch)
tree9b9728318daa5f90d8ca0f9d56300111fcde648d /mail/postfix21/scripts/configure.postfix
parentUpdate to officially distributed from SourceForge huskybase 1.0. (diff)
- Update postfix to 2.0.10 release
- Add option for using Postgres 7.2 in addition to 7.3 PR: 52620 Submitted by: Vivek Khera <khera@kcilink.com>
Diffstat (limited to '')
-rw-r--r--mail/postfix21/scripts/configure.postfix15
1 files changed, 13 insertions, 2 deletions
diff --git a/mail/postfix21/scripts/configure.postfix b/mail/postfix21/scripts/configure.postfix
index 6f4e37afe533..2dbc8153d29d 100644
--- a/mail/postfix21/scripts/configure.postfix
+++ b/mail/postfix21/scripts/configure.postfix
@@ -1,5 +1,5 @@
#!/bin/sh
-# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.33 2003-05-12 21:02:53 obraun Exp $
+# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.34 2003-06-02 15:32:39 naddy Exp $
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
exit
@@ -29,7 +29,8 @@ DB3 "Berkeley DB3 (required if SASL also built with DB3)" "$status_DB3" \
DB40 "Berkeley DB4.0 (required if SASL also built with DB4.0)" "$status_DB40" \
DB41 "Berkeley DB4.1 (required if SASL also built with DB4.1)" "$status_DB41" \
MySQL "MySQL map lookups" "$status_MySQL" \
-PgSQL "PostgreSQL map lookups" "$status_PgSQL" \
+PgSQL "PostgreSQL v7.3 map lookups" "$status_PgSQL" \
+PgSQL72 "PostgreSQL v7.2 map lookups" "$status_PgSQL72" \
OpenLDAP12 "OpenLDAP 1.2 map lookups" "$status_OpenLDAP" \
OpenLDAP20 "OpenLDAP 2.0 map lookups" "$status_OpenLDAP" \
OpenLDAP21 "OpenLDAP 2.1 map lookups" "$status_OpenLDAP" \
@@ -170,6 +171,16 @@ while [ "$1" ]; do
echo "PATCH_DIST_STRIP= -p1"
echo "PGSQL_SUFFIX= +pgsql"
;;
+ PgSQL72)
+ echo "POSTGRESQL_PORT?= databases/postgresql72"
+ echo "LIB_DEPENDS+= pq.2:\${PORTSDIR}/\${POSTGRESQL_PORT}"
+ echo "POSTFIX_CCARGS+= -DHAS_PGSQL -I\${LOCALBASE}/include -I\${LOCALBASE}/pgsql/include"
+ echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -L\${LOCALBASE}/pgsql/lib -lpq -lcrypt"
+ echo "PATCH_SITES+= http://mat.cc/postfix/"
+ echo "PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch"
+ echo "PATCH_DIST_STRIP= -p1"
+ echo "PGSQL_SUFFIX= +pgsql"
+ ;;
OpenLDAP12)
echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libldap.a:\${PORTSDIR}/net/openldap12"
echo "POSTFIX_CCARGS+= -DHAS_LDAP -I\${LOCALBASE}/include"