Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2020 10:47:15 +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: r531918 - head/comms/openzwave-devel
Message-ID:  <202004171047.03HAlFJV041108@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Fri Apr 17 10:47:15 2020
New Revision: 531918
URL: https://svnweb.freebsd.org/changeset/ports/531918

Log:
  comms/openzwave-devel: fix build on GCC architectures
  
  Use C++11 compiler:
  cc1plus: error: unrecognized command line option "-std=c++11"
  
  Adding MAKE_ARGS+= CXX="${CXX}" is necessary because CXX is set up in Makefile.
  
  MFH:	2020Q2 (fix build blanket)

Modified:
  head/comms/openzwave-devel/Makefile

Modified: head/comms/openzwave-devel/Makefile
==============================================================================
--- head/comms/openzwave-devel/Makefile	Fri Apr 17 10:36:36 2020	(r531917)
+++ head/comms/openzwave-devel/Makefile	Fri Apr 17 10:47:15 2020	(r531918)
@@ -11,7 +11,7 @@ COMMENT=	Open-zwave - An open-source interface to Z-Wa
 
 LICENSE=	LGPL20
 
-USES=		gmake tar:bz2 iconv pkgconfig
+USES=		compiler:c++11-lang gmake tar:bz2 iconv pkgconfig
 
 # Manually update this when makefile is updated
 # echo $(git describe --long --tags --dirty 2>/dev/null | sed s/^v//) | awk '{split($$0,a,"-"); print a[2]}'
@@ -22,7 +22,7 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	OpenZWave
 GH_PROJECT=	open-zwave
 GH_TAGNAME=	14f2ba74
-MAKE_ARGS=	VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR}
+MAKE_ARGS=	VERSION_REV=${VERSION_REV} LIBDIR=${WRKSRC} docdir=${DOCSDIR} CXX=${CXX}
 
 OPTIONS_DEFINE=	DOXYGEN DOCS
 OPTIONS_DEFAULT=



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