Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Jun 2019 15:54:37 +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: r503964 - head/net/yami4
Message-ID:  <201906111554.x5BFsbCu062826@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Tue Jun 11 15:54:36 2019
New Revision: 503964
URL: https://svnweb.freebsd.org/changeset/ports/503964

Log:
  net/yami4: fix build
  
  Add USES=compiler:c++11-lang to use new GCC and add COMPILER="${CXX}" to actually respect that.
  
  Errors:
  value_publisher.h: At global scope:
  value_publisher.h:180: error: ISO C++ forbids declaration of 'unique_ptr' with no type
  value_publisher.h:180: error: invalid use of '::'
  value_publisher.h:180: error: expected ';' before '<' token
  value_publisher.h:182: error: ISO C++ forbids declaration of 'unique_ptr' with no type
  value_publisher.h:182: error: invalid use of '::'
  value_publisher.h:182: error: expected ';' before '<' token
  
  Approved by:	mat (mentor)
  Differential Revision:		https://reviews.freebsd.org/D20600

Modified:
  head/net/yami4/Makefile

Modified: head/net/yami4/Makefile
==============================================================================
--- head/net/yami4/Makefile	Tue Jun 11 15:52:49 2019	(r503963)
+++ head/net/yami4/Makefile	Tue Jun 11 15:54:36 2019	(r503964)
@@ -12,9 +12,9 @@ COMMENT=	Messaging library for distributed systems
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/gpl-3.0.txt
 
-USES=		zip
+USES=		compiler:c++11lasg zip
 
-MAKE_ARGS=	OPTIONS="${CXXFLAGS}"
+MAKE_ARGS=	COMPILER="${CXX}" OPTIONS="${CXXFLAGS}"
 CXXFLAGS+=	-D_GLIBCXX_USE_C99 # XXX ports/193528
 
 PORTDOCS=	*



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