Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Dec 2019 11:24:07 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r519602 - head/games/glest
Message-ID:  <201912091124.xB9BO7iY042772@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pkubaj
Date: Mon Dec  9 11:24:07 2019
New Revision: 519602
URL: https://svnweb.freebsd.org/changeset/ports/519602

Log:
  games/glest: fix build on GCC architectures
  
  OpenAL needs C++11 compiler:
  /usr/local/lib/libopenal.so: undefined reference to `std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::~basic_string()@GLIBCXX_3.4.21'

Modified:
  head/games/glest/Makefile

Modified: head/games/glest/Makefile
==============================================================================
--- head/games/glest/Makefile	Mon Dec  9 11:17:41 2019	(r519601)
+++ head/games/glest/Makefile	Mon Dec  9 11:24:07 2019	(r519602)
@@ -18,8 +18,8 @@ LIB_DEPENDS=	libxerces-c.so:textproc/xerces-c3 \
 BUILD_DEPENDS=	jam:devel/jam
 RUN_DEPENDS=	${LOCALBASE}/${DATADIR_REL}/servers.ini:games/glest-data
 
-USES=		autoreconf:build dos2unix gl localbase lua:51 openal:al,alut \
-		pkgconfig sdl xorg zip
+USES=		autoreconf:build compiler:c++11-lang dos2unix gl localbase \
+		lua:51 openal:al,alut pkgconfig sdl xorg zip
 USE_SDL=	sdl
 USE_GL=		gl glu
 USE_XORG=	x11



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912091124.xB9BO7iY042772>