Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Jan 2020 09:28:38 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r521815 - head/ftp/lftp
Message-ID:  <202001020928.0029ScAx039447@repo.freebsd.org>

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



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