x11-toolkits/wxgtk28: fix build of dependent ports on GCC architectures

Add USES=compiler:c++11-lang to fix compilation of games/scummvm-tools.

Also add, USES=gl localbase.

PR:		237225
Approved by:	linimon (mentor)
This commit is contained in:
Piotr Kubaj 2019-05-05 18:01:51 +00:00
parent 8311dd9656
commit 86a8c00c92
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=500869

View file

@ -16,7 +16,8 @@ LIB_DEPENDS+= libpng.so:graphics/png\
libtiff.so:graphics/tiff\
libexpat.so:textproc/expat2
USES= compiler gmake iconv jpeg pkgconfig tar:bzip2
USES= compiler:c++11-lang gl gmake iconv jpeg localbase pkgconfig \
tar:bzip2
USE_CXXSTD= gnu++98
USE_XORG= x11 sm xxf86vm xinerama
USE_GL= glu
@ -34,8 +35,6 @@ CONFIGURE_ARGS= --with-libpng=sys\
--disable-backtrace\
--enable-graphics_ctx
CONFIGURE_ENV= X11BASE="${LOCALBASE}"
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib
PLIST= ${.CURDIR}/pkg-plist
WXGTK_FLAVOR?= gtk2