From 2b4fdcd185d271070f023445fc3782ab754f885b Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 23 May 2004 14:40:00 +0000 Subject: 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. --- news/inn/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'news') 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" -- cgit v1.2.3