From 18c40a1ee636cd3a53bfb84a599b1bb55873b936 Mon Sep 17 00:00:00 2001 From: Mark Linimon Date: Mon, 24 Dec 2018 04:34:15 +0000 Subject: [PATCH] Add compiler:c++11-lang to USES to allow these ports to build on GCC-based architectures. While here, pet portlint. --- devel/smack/Makefile | 4 +--- games/vegastrike/Makefile | 8 ++++---- mail/libetpan/Makefile | 2 +- net/boinc_curses/Makefile | 2 +- 4 files changed, 7 insertions(+), 9 deletions(-) diff --git a/devel/smack/Makefile b/devel/smack/Makefile index 807ba1a05f5a..4277f9f4c515 100644 --- a/devel/smack/Makefile +++ b/devel/smack/Makefile @@ -11,8 +11,6 @@ COMMENT= Low-level I/O storage library which packs data LICENSE= GPLv2 -BROKEN_powerpc64= fails to build: libboost_filesystem.so: undefined reference to std::__cxx11::basic_string - LIB_DEPENDS= libboost_iostreams.so:devel/boost-libs \ libsnappy.so:archivers/snappy @@ -20,7 +18,7 @@ USE_GITHUB= yes GH_ACCOUNT= zloidemon GH_TAGNAME= 72c81bf -USES= cmake +USES= cmake compiler:c++11-lang USE_LDCONFIG= yes OPTIONS_DEFINE= EXAMPLES diff --git a/games/vegastrike/Makefile b/games/vegastrike/Makefile index 4e6e3ec27a8a..17d0c6f4c43f 100644 --- a/games/vegastrike/Makefile +++ b/games/vegastrike/Makefile @@ -14,14 +14,16 @@ COMMENT= Open source 3D space simulator LICENSE= GPLv2+ LICENSE_FILE= ${WRKSRC}/COPYING +BROKEN_aarch64= Fails to compile: POSH cannot determine target CPU + RUN_DEPENDS= ${LOCALBASE}/${DATADIR_REL}/vegastrike.ico:games/vegastrike-data LIB_DEPENDS= ${PY_BOOST} \ libexpat.so:textproc/expat2 \ libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg -USES= dos2unix gmake localbase:ldflags openal:al pkgconfig python:2.7 \ - tar:bzip2 +USES= compiler:c++11-lang dos2unix gmake localbase:ldflags \ + openal:al pkgconfig python:2.7 tar:bzip2 USE_CXXSTD= c++98 GNU_CONFIGURE= yes USE_SDL= sdl @@ -50,8 +52,6 @@ MESHER_PLIST_FILES= bin/mesher MESHER_LIB_DEPENDS= libOgreMain.so:graphics/ogre3d MESHER_CONFIGURE_ENABLE= ogre -BROKEN_aarch64= Fails to compile: POSH cannot determine target CPU - post-patch: @${REINPLACE_CMD} -E 's,/usr/(local|X11R6),${LOCALBASE},' \ ${WRKSRC}/configure diff --git a/mail/libetpan/Makefile b/mail/libetpan/Makefile index 06b287b21859..2cc8063f9c9d 100644 --- a/mail/libetpan/Makefile +++ b/mail/libetpan/Makefile @@ -18,7 +18,7 @@ LIB_DEPENDS= libcurl.so:ftp/curl \ GNU_CONFIGURE= yes INSTALL_TARGET= install-strip -USES= autoreconf gmake iconv libtool localbase +USES= autoreconf compiler:c++11-lang gmake iconv libtool localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= dinhviethoa diff --git a/net/boinc_curses/Makefile b/net/boinc_curses/Makefile index a8dd6ad0853d..4b3c36eae00c 100644 --- a/net/boinc_curses/Makefile +++ b/net/boinc_curses/Makefile @@ -13,7 +13,7 @@ LICENSE= LGPL21+ BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc.a:net/boinc-client -USES= ncurses tar:bzip2 +USES= compiler:c++11-lang ncurses tar:bzip2 MAKE_ENV= BOINCLIBDIR=${LOCALBASE}/lib BOINCINCDIR=${LOCALBASE}/include/boinc PLIST_FILES= bin/boinc_curses