summaryrefslogtreecommitdiff
path: root/mail/postfix27/Makefile
diff options
context:
space:
mode:
authorTorsten Blum <torstenb@FreeBSD.org>2000-01-28 21:07:45 +0000
committerTorsten Blum <torstenb@FreeBSD.org>2000-01-28 21:07:45 +0000
commit42d72420ffc08533e35658774d2354cc5aadc74e (patch)
treee45cdaddafafd4326a44149aaa7683fd98aec5b8 /mail/postfix27/Makefile
parentUpgrade to inn 2.2.2 (diff)
- Upgrade to patchlevel 3
- Add support for MySQL and LDAP support MySQL + LDAP Patches submitted by Blaz Zupan <blaz@amis.net> and re-used with minor cleanups.
Notes
Notes: svn path=/head/; revision=25181
Diffstat (limited to 'mail/postfix27/Makefile')
-rw-r--r--mail/postfix27/Makefile19
1 files changed, 18 insertions, 1 deletions
diff --git a/mail/postfix27/Makefile b/mail/postfix27/Makefile
index b1b572416f97..29d646dd163e 100644
--- a/mail/postfix27/Makefile
+++ b/mail/postfix27/Makefile
@@ -6,7 +6,8 @@
# $FreeBSD$
#
-DISTNAME= postfix-19991231
+DISTNAME= postfix-19991231-pl03
+PKGNAME= postfix-19991231.03
CATEGORIES= mail
MASTER_SITES= ftp://ftp.merit.edu/postfix/official/ \
ftp://ftp.snoopy.net/pub/mirrors/postfix/official/ \
@@ -20,6 +21,22 @@ MAINTAINER= torstenb@FreeBSD.org
ALL_TARGET= default
+# WARNING: this is based on a patch submitted by a user and has not been
+# tested. Use it at your own risk !
+.if defined(USE_MYSQL) && ${USE_MYSQL} == YES
+BUILD_DEPENDS+= ${PREFIX}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql322-client
+POSTFIX_CCARGS+= -DHAS_MYSQL -I${PREFIX}/include/mysql
+POSTFIX_AUXLIBS+= ${PREFIX}/lib/mysql/libmysqlclient.a -lm
+.endif
+
+# WARNING: this is based on a patch submitted by a user and has not been
+# tested. Use it at your own risk !
+.if defined(USE_LDAP) && ${USE_LDAP} == YES
+BUILD_DEPENDS+= ${PREFIX}/lib/libldap.a:${PORTSDIR}/net/openldap
+POSTFIX_CCARGS+= -DHAS_LDAP -I${PREFIX}/include
+POSTFIX_AUXLIBS+= ${PREFIX}/lib/libldap.a ${PREFIX}/lib/liblber.a
+.endif
+
SCRIPTS_ENV+= MAN1="${MAN1}" MAN5="${MAN5}" MAN8="${MAN8}"
MAKE_ENV+= "OPT=${CFLAGS}"