summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-08-11 06:51:31 +0000
committerjlam <jlam@pkgsrc.org>2004-08-11 06:51:31 +0000
commit4ae27a12a1b0b496516593ca4f00981416cefb75 (patch)
tree77975f72827feb39e5dc6b6dda97a271435c39f1 /mail
parent496908393f4b3139e1e723fa23a395d21326594d (diff)
downloadpkgsrc-4ae27a12a1b0b496516593ca4f00981416cefb75.tar.gz
This patch can only apply cleanly if "inet6" is a build option. Move it
to a file that's applied at post-patch time only if "inet6" is specified. This fixes building postfix on systems that don't support IPv6.
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix/distinfo3
-rw-r--r--mail/postfix/files/patch-darwin-inet6 (renamed from mail/postfix/patches/patch-ac)2
-rw-r--r--mail/postfix/options.mk7
3 files changed, 8 insertions, 4 deletions
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo
index 5d5ad1525c0..2a906e1b616 100644
--- a/mail/postfix/distinfo
+++ b/mail/postfix/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.74 2004/08/10 16:49:47 schmonz Exp $
+$NetBSD: distinfo,v 1.75 2004/08/11 06:51:31 jlam Exp $
SHA1 (postfix/postfix-2.1.4.tar.gz) = 64dbd7b053df4ccf2191d4200b272be06e1592a8
Size (postfix/postfix-2.1.4.tar.gz) = 1970068 bytes
@@ -10,6 +10,5 @@ SHA1 (postfix/pfixtls-0.8.18-2.1.3-0.9.7d.tar.gz) = 313d572bcd960e3cafd78ac9ee4b
Size (postfix/pfixtls-0.8.18-2.1.3-0.9.7d.tar.gz) = 239141 bytes
SHA1 (patch-aa) = 279b54f19289b56a423214716386c5aab79a57d5
SHA1 (patch-ab) = c506a08b694f94ef4884fa97eec51e44c92812dd
-SHA1 (patch-ac) = 0067efd3ec26d5f1ecdef3b9c04b2df731f6acce
SHA1 (patch-ag) = 1c6ba5e7b8dc923172add8b0f8af0f9a81226edc
SHA1 (patch-ai) = e7284d9b3d7b83def7994269867e443fc0394d40
diff --git a/mail/postfix/patches/patch-ac b/mail/postfix/files/patch-darwin-inet6
index 29c4c036c3f..7bd3f85addc 100644
--- a/mail/postfix/patches/patch-ac
+++ b/mail/postfix/files/patch-darwin-inet6
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.8 2004/08/10 16:49:47 schmonz Exp $
+$NetBSD: patch-darwin-inet6,v 1.1 2004/08/11 06:51:31 jlam Exp $
--- src/util/match_ops.c.orig Tue Aug 10 02:29:26 2004
+++ src/util/match_ops.c
diff --git a/mail/postfix/options.mk b/mail/postfix/options.mk
index 9ab7bfa23e3..738f27fa444 100644
--- a/mail/postfix/options.mk
+++ b/mail/postfix/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.5 2004/08/07 17:05:00 jlam Exp $
+# $NetBSD: options.mk,v 1.6 2004/08/11 06:51:31 jlam Exp $
# Global and legacy options
#
@@ -65,6 +65,11 @@ PATCHFILES+= ${IPV6TLS_PATCH}
SITES_${IPV6TLS_PATCH}= ftp://ftp.stack.nl/pub/postfix/tls+ipv6/1.25/
PATCH_DIST_STRIP.${IPV6TLS_PATCH}= -p1
PLIST_SRC+= ${PKGDIR}/PLIST.inet6
+
+post-patch: darwin-inet6-fix
+darwin-inet6-fix:
+ @cd ${WRKSRC} && ${PATCH} ${PATCH_ARGS} \
+ < ${FILESDIR}/patch-darwin-inet6
.endif
###