From 10295596f0edc7c7ab1029bcc2e009583a1d3471 Mon Sep 17 00:00:00 2001 From: martti Date: Mon, 16 Feb 2004 09:31:06 +0000 Subject: Added optional postgresql support --- mail/postfix/Makefile | 15 ++++++++++++++- mail/postfix/distinfo | 4 +++- 2 files changed, 17 insertions(+), 2 deletions(-) (limited to 'mail') diff --git a/mail/postfix/Makefile b/mail/postfix/Makefile index 5441d8aa9e4..2b32d5d1f4d 100644 --- a/mail/postfix/Makefile +++ b/mail/postfix/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.116 2004/01/28 16:03:02 martti Exp $ +# $NetBSD: Makefile,v 1.117 2004/02/16 09:31:06 martti Exp $ DISTNAME= postfix-2.0.18 CATEGORIES= mail @@ -77,6 +77,19 @@ AUXLIBS+= -L${BUILDLINK_PREFIX.mysql-client}/lib/mysql \ BUILD_DEFS+= POSTFIX_USE_MYSQL .endif +.if defined(POSTFIX_USE_PGSQL) && ${POSTFIX_USE_PGSQL} == "YES" +. include "../../databases/postgresql-lib/buildlink3.mk" +. include "../../security/openssl/buildlink3.mk" +PATCHFILES+= postfix-pg.postfix-2.0.0.2.patch +PATCH_SITES+= http://www.mat.cc/postfix/ +PATCH_DIST_STRIP= -p1 + +CCARGS+= -DHAS_PGSQL -I${BUILDLINK_PREFIX.postgresql-lib}/include/pgsql +AUXLIBS+= -L${BUILDLINK_PREFIX.postgresql-lib}/lib -lpq \ + -L${BUILDLINK_PREFIX.openssl}/lib -lcrypt +BUILD_DEFS+= POSTFIX_USE_PGSQL +.endif + .if defined(USE_SASL2) && ${USE_SASL2} == "YES" USING_SASL=YES . include "../../security/cyrus-sasl2/buildlink3.mk" diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index a9782aeab42..e79bfd61a02 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,9 +1,11 @@ -$NetBSD: distinfo,v 1.53 2004/01/28 16:03:03 martti Exp $ +$NetBSD: distinfo,v 1.54 2004/02/16 09:31:06 martti Exp $ SHA1 (postfix/postfix-2.0.18.tar.gz) = 7abf546d2756978caddb37f4203602412e277f51 Size (postfix/postfix-2.0.18.tar.gz) = 1353649 bytes SHA1 (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = e2c29b3e6a00eb53120661d7e411d8e786a0bae6 Size (postfix/tls+ipv6-1.21-pf-2.0.18.patch.gz) = 254862 bytes +SHA1 (postfix/postfix-pg.postfix-2.0.0.2.patch) = 51498e624f9fc68f33384c2355803f0b181ca64a +Size (postfix/postfix-pg.postfix-2.0.0.2.patch) = 27419 bytes SHA1 (patch-aa) = 39a89a28cec3fd264dbda97633e34695eaad01e9 SHA1 (patch-ab) = ac4c75fb7a36491edf03b54915c7a47461748b4d SHA1 (patch-ac) = b0d26742fe8496b2fd4729a41fecadc275e71cf2 -- cgit v1.2.3