Explicitly build with -std=gnu++03.

This fixes the build with GCC 6, which defaults to -std=gnu++14. The project,
which seems to be unmaintained upstream, is incompatible with C++11 and later.

PR:		219298
Approved by:	portmgr (blanket approval)
This commit is contained in:
Raphael Kubo da Costa 2017-08-01 09:01:14 +00:00
parent b6b0793000
commit 9cd7f215d2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=447014

View file

@ -24,6 +24,10 @@ GNU_CONFIGURE= yes
USES= gmake
USE_GCC= any
# ezbounce 1.99.15 isn't compatible with C++11 and later, which some compilers
# such as GCC 6 default to.
USE_CXXSTD= gnu++03
SUB_FILES= pkg-message
post-patch: