Fix build on GCC-based systems by adding compiler:c++11-lang to USES:

/usr/local/lib/libtinyxml.so: undefined reference to `__cxa_throw_bad_array_new_length@CXXABI_1.3.8'

While here, sort USES.

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon
2020-03-17 04:27:03 +00:00
parent caac0101ca
commit 21df82eafb

View File

@@ -19,7 +19,8 @@ LIB_DEPENDS= libtinyxml.so:textproc/tinyxml \
BUILD_DEPENDS= pnglite>0:graphics/pnglite \
tinyxml>0:textproc/tinyxml
USES= tar:bz2 dos2unix gmake jpeg gettext-runtime gl gnome pkgconfig
USES= compiler:c++11-lang dos2unix gettext-runtime gl gmake \
gnome jpeg pkgconfig tar:bz2
USE_GL= gl glu glew glut
USE_GNOME= gtk20 pango atk cairo gdkpixbuf2 glib20
MAKEFILE= Makefile.linux