summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-11-30 18:03:20 +0000
committergrant <grant@pkgsrc.org>2002-11-30 18:03:20 +0000
commitcdfeab2db803e889c89c9687a8dff1c09b236632 (patch)
tree1bc9b474b2235ea4e1a96ebdc4921a8a44e2149c /net/wget
parenta352f694c27aed43960316cf1abba26d4488185c (diff)
downloadpkgsrc-cdfeab2db803e889c89c9687a8dff1c09b236632.tar.gz
only apply IPv6 patches if USE_INET6 is set.
Fixes build on (earlier) operating systems without IPv6 support.
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/Makefile11
1 files changed, 5 insertions, 6 deletions
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