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
commit2b4fdcd185d271070f023445fc3782ab754f885b (patch)
treefebb46eae590ad558ca3320a1e36572240610db7 /news
parent64390106f0dec0a7d205ecd5a9410437b094a9cd (diff)
downloadpkgsrc-2b4fdcd185d271070f023445fc3782ab754f885b.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"