svn commit: r425936 - in head/games/pioneer: . files

Guido Falsi madpilot at FreeBSD.org
Sat Nov 12 10:06:50 UTC 2016


Author: madpilot
Date: Sat Nov 12 10:06:49 2016
New Revision: 425936
URL: https://svnweb.freebsd.org/changeset/ports/425936

Log:
  - Update to 20161110
  - Convert to USES=localbase
  - Removed upstreamed patches
  
  PR:		214420
  Submitted by:	lightside at gmx.com (maintainer)

Deleted:
  head/games/pioneer/files/patch-contrib_PicoDDS_PicoDDS.cpp
  head/games/pioneer/files/patch-src_GameConfig.h
Modified:
  head/games/pioneer/Makefile
  head/games/pioneer/distinfo

Modified: head/games/pioneer/Makefile
==============================================================================
--- head/games/pioneer/Makefile	Sat Nov 12 10:04:48 2016	(r425935)
+++ head/games/pioneer/Makefile	Sat Nov 12 10:06:49 2016	(r425936)
@@ -36,9 +36,9 @@ LIB_DEPENDS=	libcurl.so:ftp/curl \
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	pioneerspacesim
-GH_TAGNAME=	20161028
+GH_TAGNAME=	20161110
 
-USES=		autoreconf gmake pkgconfig
+USES=		autoreconf compiler:c++11-lib gmake localbase pkgconfig
 USE_GL=		gl
 USE_SDL=	image2 sdl2
 
@@ -72,21 +72,18 @@ PROFILER_CONFIGURE_ON=	--enable-profiler
 
 .include <bsd.port.pre.mk>
 
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054
-USE_GCC=	yes
-.else
-USES+=		compiler:c++11-lang
-CPPFLAGS+=	-I${LOCALBASE}/include
+.if ${COMPILER_TYPE} == gcc
+# Unhide std::to_string() for GCC (ports/193528)
+CXXFLAGS+=	-D_GLIBCXX_USE_C99
 .endif
 
 post-patch: .SILENT
 	${REINPLACE_CMD} -e '/^OPTIMISE=/d' \
 		${WRKSRC}/configure.ac
-	${REINPLACE_CMD} -e 's/std:://g' \
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000054
+	${REINPLACE_CMD} -e 's/std::acosh/acosh/g ; s/std::copysign/copysign/g' \
 		${WRKSRC}/src/Orbit.cpp
-	${REINPLACE_CMD} -e 's/std::to_string/to_string/g' \
-		${WRKSRC}/src/graphics/opengl/GenGasGiantColourMaterial.cpp \
-		${WRKSRC}/src/graphics/opengl/RendererGL.cpp
+.endif
 
 post-patch-MODELCOMPILER-off: .SILENT
 	${REINPLACE_CMD} -e 's/pioneer modelcompiler/pioneer/' \

Modified: head/games/pioneer/distinfo
==============================================================================
--- head/games/pioneer/distinfo	Sat Nov 12 10:04:48 2016	(r425935)
+++ head/games/pioneer/distinfo	Sat Nov 12 10:06:49 2016	(r425936)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1477647657
-SHA256 (pioneerspacesim-pioneer-0.0.20161028-20161028_GH0.tar.gz) = d8ceefc7ec22ecdbaf2408a13c80d0368675feebff558457bef2ffc7258f4b77
-SIZE (pioneerspacesim-pioneer-0.0.20161028-20161028_GH0.tar.gz) = 194439211
+TIMESTAMP = 1478769845
+SHA256 (pioneerspacesim-pioneer-0.0.20161110-20161110_GH0.tar.gz) = 24d86095e2080fdbc6ae849dc543dcbdf214d09d34208697d915167c80775b50
+SIZE (pioneerspacesim-pioneer-0.0.20161110-20161110_GH0.tar.gz) = 194432857


More information about the svn-ports-all mailing list