svn commit: r521816 - branches/2020Q1/ftp/lftp

Piotr Kubaj pkubaj at FreeBSD.org
Thu Jan 2 09:29:49 UTC 2020


Author: pkubaj
Date: Thu Jan  2 09:29:48 2020
New Revision: 521816
URL: https://svnweb.freebsd.org/changeset/ports/521816

Log:
  MFH: r521815
  
  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'
  
  Approved by:	portmgr (build fix blanket)

Modified:
  branches/2020Q1/ftp/lftp/Makefile
Directory Properties:
  branches/2020Q1/   (props changed)

Modified: branches/2020Q1/ftp/lftp/Makefile
==============================================================================
--- branches/2020Q1/ftp/lftp/Makefile	Thu Jan  2 09:28:38 2020	(r521815)
+++ branches/2020Q1/ftp/lftp/Makefile	Thu Jan  2 09:29:48 2020	(r521816)
@@ -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-branches mailing list