summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorPeter Pentchev <roam@FreeBSD.org>2001-05-22 17:14:58 +0000
committerPeter Pentchev <roam@FreeBSD.org>2001-05-22 17:14:58 +0000
commit6a876150e18bbd4285ec1d80783a06b5aece2ad9 (patch)
tree1035d60cf71f8b9d5034062c4c9658142c5dcfdd /mail
parentAdd a new patch (which seems to avoid a null pointer dereference). (diff)
Make the IPv6 build option i386-only.
PR: 27171 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=42923
Diffstat (limited to 'mail')
-rw-r--r--mail/postfix-current/scripts/configure.postfix12
1 files changed, 11 insertions, 1 deletions
diff --git a/mail/postfix-current/scripts/configure.postfix b/mail/postfix-current/scripts/configure.postfix
index d4cdc347bf7f..e1b7d41c028d 100644
--- a/mail/postfix-current/scripts/configure.postfix
+++ b/mail/postfix-current/scripts/configure.postfix
@@ -105,9 +105,19 @@ while [ "$1" ]; do
SUB_TEST=""
;;
\"IPv6\")
+ if [ `uname -m` != "i386" ]; then
+ /usr/bin/dialog --msgbox "IPv6 patch currently only supported on i386!" 5 60 > /dev/stderr
+ rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ exit 1
+ fi
+ if [ X$SUB_TLS = "X" ]; then
+ /usr/bin/dialog --msgbox "IPv6 and TLS patch cannot be used simultaneously!" 5 60 > /dev/stderr
+ rm -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc
+ exit 1
+ fi
echo "PATCH_SITES+= ftp://ftp.kame.net/pub/kame/misc/"
echo "PATCH_SITES+= \${MASTER_SITE_RINGSERVER:S,%SUBDIR%,net/kame/misc/&,}"
- echo "PATCHFILES+= postfix-20010228release-v6-20010415a.diff.gz"
+ echo "PATCHFILES+= postfix-20010228release-v6-20010424a.diff.gz"
echo "PATCH_DIST_STRIP= -p1"
echo ""
;;