aboutsummaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-13 00:29:40 +0000
committerPiotr Kubaj <pkubaj@FreeBSD.org>2021-01-13 00:29:40 +0000
commit8fcfa0ea7730839ba45e048fbe7ba3744d884c84 (patch)
tree269a4f1af7beed14919653725128af31ac0315d0 /ftp
parent02135d3c9d8432bcbdc8c4529421dad407919a86 (diff)
downloadports-8fcfa0ea7730839ba45e048fbe7ba3744d884c84.tar.gz
ports-8fcfa0ea7730839ba45e048fbe7ba3744d884c84.zip
ftp/wget: fix build on GCC architectures
tempname.c: In function 'try_tempname_len': tempname.c:288: error: 'for' loop initial declaration used outside C99 mode
Notes
Notes: svn path=/head/; revision=561405
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wget/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/ftp/wget/Makefile b/ftp/wget/Makefile
index 7d0c929b738b..f7976f0c28f1 100644
--- a/ftp/wget/Makefile
+++ b/ftp/wget/Makefile
@@ -16,6 +16,7 @@ TEST_DEPENDS= p5-HTTP-Daemon>=0:www/p5-HTTP-Daemon \
p5-IO-Socket-SSL>=0:security/p5-IO-Socket-SSL
USES= charsetfix cpe iconv localbase pkgconfig tar:lz
+USE_CSTD= c99
CPE_VENDOR= gnu
GNU_CONFIGURE= yes
OPTIONS_SUB= yes