MFH: r497660

Add compiler:c++11-lang to USES to fix the following on GCC-based
architectures:

  /usr/local/lib/libgraphite2.so.3: undefined reference to '__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2019-04-03 07:05:48 +00:00
parent 4414df9edc
commit 1edb3bf288
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=497661

View file

@ -23,11 +23,12 @@ OPTIONS_DEFINE= MYSQL
WRKSRC= ${WRKDIR}/scorched
USES= autoreconf compiler:c++11-lang dos2unix gmake iconv jpeg \
openal:al,alut perl5 pkgconfig
USE_GL= glew glu
USE_SDL= mixer net sdl
USE_WX= 2.8
WX_CONF_ARGS= absolute
USES= autoreconf dos2unix gmake iconv jpeg openal:al,alut perl5 pkgconfig
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datadir=${DATADIR}
LLD_UNSAFE= yes