summaryrefslogtreecommitdiff
path: root/news
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-05-23 14:40:00 +0000
committertron <tron@pkgsrc.org>2004-05-23 14:40:00 +0000
commit275551e491954be0c23d27c62b61cf866eb55c4c (patch)
treefebb46eae590ad558ca3320a1e36572240610db7 /news
parent1346b4f4222cb01c1bd4b9fc0e8b3aca4e917e2d (diff)
downloadpkgsrc-275551e491954be0c23d27c62b61cf866eb55c4c.tar.gz
Apply IPv6 patch only if we really want IPv6 support because the patch
breaks the build on some IPv4 only platforms (e.g. IRIX). This fixes PR pkg/25671 by Georg Schwarz.
Diffstat (limited to 'news')
-rw-r--r--news/inn/Makefile17
1 files changed, 10 insertions, 7 deletions
diff --git a/news/inn/Makefile b/news/inn/Makefile
index 0b5eeac59bf..22ccd4254b8 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.55 2004/05/22 18:58:29 jschauma Exp $
+# $NetBSD: Makefile,v 1.56 2004/05/23 14:40:00 tron Exp $
DISTNAME= inn-${INN_VERSION}
PKGREVISION= 1
@@ -7,10 +7,6 @@ MASTER_SITES= ftp://ftp.isc.org/isc/inn/ \
ftp://ftp.sunet.se/pub/news/nntp/inn/ \
ftp://ftp.fu-berlin.de/unix/news/inn/
-PATCH_SITES= ftp://ftp.north.ad.jp/pub/IPv6/INN/
-PATCHFILES= inn-${INN_VERSION}-v6-20030327.diff.gz
-PATCH_DIST_STRIP= -p1
-
MAINTAINER= tron@NetBSD.org
HOMEPAGE= http://www.isc.org/inn.html
COMMENT= The public release of InterNet News (INN)
@@ -74,10 +70,17 @@ RCD_SCRIPTS= innd
.include "../../mk/bsd.prefs.mk"
# IPv6 support
+#
+# The IPv6 patch is somewhat broken unfortunately. It uses APIs which often
+# are not available under operating systems without IPv4 support. We therefore
+# apply it only if we really want IPv6 support.
+
.if defined(USE_INET6) && ${USE_INET6} == YES
+PATCH_SITES= ftp://ftp.north.ad.jp/pub/IPv6/INN/
+PATCHFILES= inn-${INN_VERSION}-v6-20030327.diff.gz
+PATCH_DIST_STRIP= -p1
+
CONFIGURE_ARGS+= --enable-ipv6
-.else
-CONFIGURE_ARGS+= --disable-ipv6
.endif
.if ${OPSYS} == "SunOS"