svn commit: r531918 - head/comms/openzwave-devel
Piotr Kubaj
pkubaj at FreeBSD.org
Fri Apr 17 10:47:16 UTC 2020
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=
More information about the svn-ports-all
mailing list