svn commit: r521815 - head/ftp/lftp
Piotr Kubaj
pkubaj at FreeBSD.org
Thu Jan 2 09:28:38 UTC 2020
Author: pkubaj
Date: Thu Jan 2 09:28:38 2020
New Revision: 521815
URL: https://svnweb.freebsd.org/changeset/ports/521815
Log:
ftp/lftp: fix build on GCC architectures
C++11 compiler is necessary:
In file included from FileAccess.cc:1029:
ftpclass.h:123: error: ISO C++ forbids initialization of member 'cepr_supported'
ftpclass.h:123: error: making 'cepr_supported' static
ftpclass.h:123: error: ISO C++ forbids in-class initialization of non-const static member 'cepr_supported'
MFH: 2020Q1
Modified:
head/ftp/lftp/Makefile
Modified: head/ftp/lftp/Makefile
==============================================================================
--- head/ftp/lftp/Makefile Thu Jan 2 09:28:27 2020 (r521814)
+++ head/ftp/lftp/Makefile Thu Jan 2 09:28:38 2020 (r521815)
@@ -22,7 +22,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libidn2.so:dns/libidn2
-USES= charsetfix iconv libtool localbase readline shebangfix
+USES= compiler:c++11-lang charsetfix iconv libtool localbase \
+ readline shebangfix
GNU_CONFIGURE= yes
PORTDOCS= AUTHORS BUGS ChangeLog FAQ FEATURES INSTALL \
More information about the svn-ports-head
mailing list