diff options
author | garga <garga@FreeBSD.org> | 2005-08-31 01:54:17 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-08-31 01:54:17 +0800 |
commit | b02f92d3522f3fa8ed9f55fa883040d19532a314 (patch) | |
tree | 867f2a7d915b3fe278d3554f81fa31451eb50487 /mail/postfix24 | |
parent | 4163da3416788f31a1c8d28c181087facd6d9302 (diff) | |
download | freebsd-ports-gnome-b02f92d3522f3fa8ed9f55fa883040d19532a314.tar.gz freebsd-ports-gnome-b02f92d3522f3fa8ed9f55fa883040d19532a314.tar.zst freebsd-ports-gnome-b02f92d3522f3fa8ed9f55fa883040d19532a314.zip |
- Add cdb map lookups
PR: ports/84382
Submitted by: IWAMOTO Kouichi <sue@iwmt.org>
Approved by: maintainer
Diffstat (limited to 'mail/postfix24')
-rw-r--r-- | mail/postfix24/scripts/configure.postfix | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/mail/postfix24/scripts/configure.postfix b/mail/postfix24/scripts/configure.postfix index 71991cf9b8e6..7df6f40ebbd1 100644 --- a/mail/postfix24/scripts/configure.postfix +++ b/mail/postfix24/scripts/configure.postfix @@ -1,5 +1,5 @@ #!/bin/sh -# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.63 2005-07-06 16:37:35 jylefort Exp $ +# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.64 2005-08-30 17:54:17 garga Exp $ if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then exit @@ -34,6 +34,7 @@ DB43 "Berkeley DB4.3 (required if SASL also built with DB4.3)" "$status_DB43" \ MySQL "MySQL map lookups (choose version with WITH_MYSQL_VER)" "$status_MySQL" \ PgSQL "PostgreSQL map lookups (choose with DEFAULT_PGSQL_VER)" "$status_PgSQL" \ OpenLDAP "OpenLDAP map lookups (choose ver. with WITH_OPENLDAP_VER)" "$status_OpenLDAP" \ +CDB "CDB map lookups" "$status_CDB" \ NIS "NIS map lookups" "$status_NIS" \ VDA "VDA (Virtual Delivery Agent)" "$status_VDA" \ Test "SMTP/LMTP test server and generator" "$status_Test" \ @@ -205,6 +206,12 @@ while [ "$1" ]; do /bin/echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lldap -llber" /bin/echo "OPENLDAP_SUFFIX= +openldap" ;; + CDB) + /bin/echo "BUILD_DEPENDS+= \${LOCALBASE}/lib/libcdb.a:\${PORTSDIR}/databases/tinycdb" + /bin/echo "POSTFIX_CCARGS+= -DHAS_CDB -I\${LOCALBASE}/include" + /bin/echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lcdb" + /bin/echo "CDB_SUFFIX= +cdb" + ;; NIS) /bin/echo "POSTFIX_CCARGS+= -DHAS_NIS" /bin/echo "NIS_SUFFIX= +nis" @@ -253,4 +260,4 @@ fi # we ask the configure questions) doesn't pick up the extensions, but # any subsequent build will. so "make; make install" will build twice. # don't do this for now. -#/bin/echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${NIS_SUFFIX}\${SPF_SUFFIX}" +#/bin/echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${CDB_SUFFIX}\${TLS_SUFFIX}\${NIS_SUFFIX}\${SPF_SUFFIX}" |