summaryrefslogtreecommitdiff
path: root/mail/postfix/options.mk
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/postfix/options.mk
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/postfix/options.mk')
-rw-r--r--mail/postfix/options.mk7
1 files changed, 6 insertions, 1 deletions
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
###