summaryrefslogtreecommitdiff
path: root/net/wget
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2002-12-01 01:00:55 +0000
committergrant <grant@pkgsrc.org>2002-12-01 01:00:55 +0000
commit5c9571d2738ea69318e3820fff12d0091e4e1029 (patch)
tree1a30ea87f863e9fcaa366ea748fc7aa4bc8b7e6c /net/wget
parentcec11ef3cdd5ec8e73453302715988e9d93b5c1b (diff)
downloadpkgsrc-5c9571d2738ea69318e3820fff12d0091e4e1029.tar.gz
revert previous: needs further work because some pkgsrc patches don't
apply cleanly if USE_INET6 is undefined.
Diffstat (limited to 'net/wget')
-rw-r--r--net/wget/Makefile11
1 files changed, 6 insertions, 5 deletions
diff --git a/net/wget/Makefile b/net/wget/Makefile
index 22e8110f911..b9b6cb52210 100644
--- a/net/wget/Makefile
+++ b/net/wget/Makefile
@@ -1,10 +1,14 @@
-# $NetBSD: Makefile,v 1.51 2002/11/30 18:03:20 grant Exp $
+# $NetBSD: Makefile,v 1.52 2002/12/01 01:00:55 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
@@ -30,10 +34,7 @@ BUILD_DEFS+= USE_INET6
.include "../../mk/bsd.prefs.mk"
# IPv6 support
-.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
+.if (${OPSYS} != SunOS) && defined(USE_INET6) && ${USE_INET6} == YES
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6