summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgrant <grant>2002-11-30 18:03:20 +0000
committergrant <grant>2002-11-30 18:03:20 +0000
commit8ab5b93e609062234e2efb9807a2e94855218db0 (patch)
tree1bc9b474b2235ea4e1a96ebdc4921a8a44e2149c /net
parente8b7611170e4d2058f59a4948fbde95691ad29b9 (diff)
downloadpkgsrc-8ab5b93e609062234e2efb9807a2e94855218db0.tar.gz
only apply IPv6 patches if USE_INET6 is set.
Fixes build on (earlier) operating systems without IPv6 support.
Diffstat (limited to 'net')
-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