From 281c848d363b912ea6548e78a3a00aebf05ebd13 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 8 Apr 2019 16:46:06 +0000 Subject: [PATCH] Add compiler:c++11-lang to USES to fix build 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 and alpha sort some USE* variables. Approved by: portmgr (tier-2 blanket) --- emulators/kcemu/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/emulators/kcemu/Makefile b/emulators/kcemu/Makefile index a9c8b0ce7fbc..db24d8c3f25e 100644 --- a/emulators/kcemu/Makefile +++ b/emulators/kcemu/Makefile @@ -22,11 +22,11 @@ LIB_DEPENDS= libaudiofile.so:audio/libaudiofile \ libxvidcore.so:multimedia/xvid \ libz80ex.so:devel/z80ex -GNU_CONFIGURE= yes -USE_XORG= xmu -USE_GNOME= gtk20 -USES= gettext ncurses pkgconfig +USES= compiler:c++11-lang gettext ncurses pkgconfig USE_CXXSTD= gnu++98 +USE_GNOME= gtk20 +USE_XORG= xmu +GNU_CONFIGURE= yes LDFLAGS+= -L${LOCALBASE}/lib WRKSRC= ${WRKDIR}/KCemu-${PORTVERSION}