From 8ab5b93e609062234e2efb9807a2e94855218db0 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 30 Nov 2002 18:03:20 +0000 Subject: only apply IPv6 patches if USE_INET6 is set. Fixes build on (earlier) operating systems without IPv6 support. --- net/wget/Makefile | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'net') diff --git a/net/wget/Makefile b/net/wget/Makefile index 1337bb0098f..22e8110f911 100644 --- a/net/wget/Makefile +++ b/net/wget/Makefile @@ -1,14 +1,10 @@ -# $NetBSD: Makefile,v 1.50 2002/11/21 11:05:56 grant Exp $ +# $NetBSD: Makefile,v 1.51 2002/11/30 18:03:20 grant Exp $ DISTNAME= wget-1.7 PKGREVISION= 2 CATEGORIES= net MASTER_SITES= ${MASTER_SITE_GNU:=wget/} -PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ -PATCHFILES= wget-17-v6-20010716a.diff.gz -PATCH_DIST_STRIP=-p1 - MAINTAINER= packages@netbsd.org HOMEPAGE= http://www.gnu.org/software/wget/wget.html COMMENT= Retrieve files from the 'net via HTTP and FTP @@ -34,7 +30,10 @@ BUILD_DEFS+= USE_INET6 .include "../../mk/bsd.prefs.mk" # IPv6 support -.if (${OPSYS} != SunOS) && defined(USE_INET6) && ${USE_INET6} == YES +.if defined(USE_INET6) && ${USE_INET6} == YES +PATCH_SITES= ftp://ftp.kame.net/pub/kame/misc/ +PATCHFILES= wget-17-v6-20010716a.diff.gz +PATCH_DIST_STRIP= -p1 CONFIGURE_ARGS+= --enable-ipv6 .else CONFIGURE_ARGS+= --disable-ipv6 -- cgit v1.2.3