svn commit: r503964 - head/net/yami4

Piotr Kubaj pkubaj at FreeBSD.org
Tue Jun 11 15:54:38 UTC 2019


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=	*


More information about the svn-ports-head mailing list