1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-04 11:23:46 +00:00

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)
This commit is contained in:
Piotr Kubaj 2020-04-17 10:47:15 +00:00
parent c56adaadab
commit c5defae963
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=531918

View File

@ -11,7 +11,7 @@ COMMENT= Open-zwave - An open-source interface to Z-Wave networks
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=