Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 09:29:48 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r521816 - branches/2020Q1/ftp/lftp
Message-ID:  <202001020929.0029TmoV039654@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001020929.0029TmoV039654>