MFH: r497662

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

  /usr/local/lib/libboost_filesystem.so: undefined reference to 'std::runtime_error::runtime_error(char const*)@GLIBCXX_3.4.21'

While here, pet portlint.

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

View File

@ -18,8 +18,9 @@ LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libboost_date_time.so:devel/boost-libs \
libpng.so:graphics/png
USES= compiler:c++11-lang libtool openal:al,alut pkgconfig
USE_CXXSTD= c++98
USES= libtool openal:al,alut pkgconfig
USE_XORG= sm ice x11 xi xext xmu
USE_GL= glut
USE_SDL= sdl