View | Details | Raw Unified | Return to bug 218408
Collapse All | Expand All

(-)Makefile (-16 / +16 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	wget
4
PORTNAME=	wget
5
DISTVERSION=	1.19
5
DISTVERSION=	1.19.1
6
CATEGORIES=	ftp www ipv6
6
CATEGORIES=	ftp www ipv6
7
MASTER_SITES=	GNU
7
MASTER_SITES=	GNU
8
8
Lines 12-18 COMMENT= Retrieve files from the Net via Link Here
12
LICENSE=	GPLv3+
12
LICENSE=	GPLv3+
13
LICENSE_FILE=	${WRKSRC}/COPYING
13
LICENSE_FILE=	${WRKSRC}/COPYING
14
14
15
USES=		charsetfix cpe gmake iconv makeinfo perl5 tar:xz
15
TEST_DEPENDS=	p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \
16
		p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
17
18
USES=		charsetfix cpe iconv makeinfo perl5 tar:xz
16
USE_PERL5=	build
19
USE_PERL5=	build
17
CPE_VENDOR=	gnu
20
CPE_VENDOR=	gnu
18
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
Lines 32-41 NLS_CONFIGURE_ENABLE= nls Link Here
32
NLS_CPPFLAGS=		-I${LOCALBASE}/include
35
NLS_CPPFLAGS=		-I${LOCALBASE}/include
33
NLS_LDFLAGS=		-L${LOCALBASE}/lib
36
NLS_LDFLAGS=		-L${LOCALBASE}/lib
34
37
35
IDN_USES=		iconv
38
IDN_LIB_DEPENDS=	libidn2.so:dns/libidn2 \
36
IDN_LIB_DEPENDS=	libidn.so:dns/libidn
39
			libunistring.so:devel/libunistring
40
IDN_CPPFLAGS=		-I${LOCALBASE}/include
41
IDN_LDFLAGS=		-L${LOCALBASE}/lib
37
IDN_CONFIGURE_ENABLE=	iri
42
IDN_CONFIGURE_ENABLE=	iri
38
IDN_CONFIGURE_ON=	--with-libidn=${LOCALBASE}
43
IDN_CONFIGURE_ON=	--with-libidn=${LOCALBASE} --with-libunistring-prefix=${LOCALBASE}
44
IDN_CONFIGURE_OFF=	--with-included-libunistring
39
45
40
METALINK_CONFIGURE_WITH=metalink
46
METALINK_CONFIGURE_WITH=metalink
41
METALINK_LIB_DEPENDS=	libmetalink.so:misc/libmetalink
47
METALINK_LIB_DEPENDS=	libmetalink.so:misc/libmetalink
Lines 43-57 METALINK_LIB_DEPENDS= libmetalink.so:mis Link Here
43
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
49
PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
44
PCRE_CPPFLAGS=		-I${LOCALBASE}/include
50
PCRE_CPPFLAGS=		-I${LOCALBASE}/include
45
PCRE_LDFLAGS=		-L${LOCALBASE}/lib
51
PCRE_LDFLAGS=		-L${LOCALBASE}/lib
46
PCRE_CONFIGURE_ENV_OFF=	ac_cv_header_pcre_h=no
52
PCRE_CONFIGURE_ENABLE=	pcre
47
53
48
PSL_CONFIGURE_WITH=	libpsl
54
PSL_CONFIGURE_WITH=	libpsl
49
PSL_LIB_DEPENDS=	libpsl.so:dns/libpsl
55
PSL_LIB_DEPENDS=	libpsl.so:dns/libpsl
50
56
51
.include <bsd.port.options.mk>
57
.include <bsd.port.options.mk>
52
58
53
CONFIGURE_ARGS+=--with-included-libunistring
54
55
.if ${PORT_OPTIONS:MOPENSSL}
59
.if ${PORT_OPTIONS:MOPENSSL}
56
USES+=		ssl
60
USES+=		ssl
57
CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE}
61
CONFIGURE_ARGS+=--with-ssl=openssl --with-libssl-prefix=${OPENSSLBASE}
Lines 69-85 CONFIGURE_ARGS+=--without-ssl Link Here
69
73
70
INFO=		wget
74
INFO=		wget
71
75
72
# eliminate gmakism
76
TEST_TARGET=	check
77
73
post-patch:
78
post-patch:
74
	${REINPLACE_CMD} -e 's,$$<,$$(srcdir)/wget.texi,' \
79
	${REINPLACE_CMD} -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \
75
			 -e 's,WGETRC = $$(sysconfdir)/wgetrc,&.sample,' \
76
		${WRKSRC}/doc/Makefile.in
80
		${WRKSRC}/doc/Makefile.in
77
	${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
81
	${REINPLACE_CMD} -e 's,/usr/local/etc/wgetrc,${PREFIX}/etc/wgetrc,' \
78
			 -e 's,@file{},@file{${PREFIX}},' \
82
		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi ${WRKSRC}/doc/wget.info
79
		${WRKSRC}/doc/sample.wgetrc* ${WRKSRC}/doc/wget.texi
80
	${REINPLACE_CMD} -e '/ac_fn_c_check_header_mongrel.*uuid\/uuid.h/ d' \
81
			 -e 's|-R$$found_dir|-Wl,-rpath=$$found_dir|g' \
82
		${WRKSRC}/configure
83
83
84
.include <bsd.port.pre.mk>
84
.include <bsd.port.pre.mk>
85
85
(-)distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1486213522
1
TIMESTAMP = 1491337367
2
SHA256 (wget-1.19.tar.xz) = 0f1157bbf4daae19f3e1ddb70c6ccb2067feb834a6aa23c9d9daa7f048606384
2
SHA256 (wget-1.19.1.tar.xz) = 0c950b9671881222a4d385b013c9604e98a8025d1988529dfca0e93617744cd2
3
SIZE (wget-1.19.tar.xz) = 2075916
3
SIZE (wget-1.19.1.tar.xz) = 2111756
(-)files/patch-src__main.c (-12 lines)
Lines 1-12 Link Here
1
--- src/main.c.orig	2015-02-10 23:31:49.000000000 +0200
2
+++ src/main.c	2015-03-06 21:55:03.975252490 +0200
3
@@ -1272,6 +1272,9 @@
4
   if (opt.verbose == -1)
5
     opt.verbose = !opt.quiet;
6
 
7
+  if (opt.quiet && opt.show_progress == -1)
8
+    opt.show_progress = false;
9
+
10
   /* Sanity checks.  */
11
   if (opt.verbose && opt.quiet)
12
     {

Return to bug 218408