aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-05-23 01:14:58 +0800
committerroam <roam@FreeBSD.org>2001-05-23 01:14:58 +0800
commitea7f38a4d67536418d6e03c758851719c0f98f73 (patch)
tree439751c7348b42c44aa350f40bc3214b42f75572
parent28517e50351ce37c27f78827baeaed8683f190e0 (diff)
downloadfreebsd-ports-gnome-ea7f38a4d67536418d6e03c758851719c0f98f73.tar.gz
freebsd-ports-gnome-ea7f38a4d67536418d6e03c758851719c0f98f73.tar.zst
freebsd-ports-gnome-ea7f38a4d67536418d6e03c758851719c0f98f73.zip
Make the IPv6 build option i386-only.
PR: 27171 Submitted by: maintainer
-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 ""
;;