2013-09-20 19:36:33 +02:00
|
|
|
# Created by: nbm
|
2002-08-30 19:47:15 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= criticalmass
|
2018-08-19 22:54:13 +02:00
|
|
|
PORTVERSION= 1.5.0
|
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
2019-07-26 22:46:53 +02:00
|
|
|
PORTREVISION= 2
|
2005-03-06 22:34:43 +01:00
|
|
|
PORTEPOCH= 1
|
2002-08-30 19:47:15 +02:00
|
|
|
CATEGORIES= games
|
2018-08-19 22:54:13 +02:00
|
|
|
MASTER_SITES= SF/${PORTNAME}/Critical%20Mass/${PORTVERSION}-RC
|
|
|
|
DISTNAME= CriticalMass-${PORTVERSION:R}
|
2002-08-30 19:47:15 +02:00
|
|
|
|
2014-07-02 20:22:39 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2014-07-23 03:45:47 +02:00
|
|
|
COMMENT= SDL/OpenGL space shoot'em up game
|
2002-08-30 19:47:15 +02:00
|
|
|
|
2016-01-12 17:20:31 +01:00
|
|
|
LICENSE= GPLv2+
|
2014-08-22 18:45:38 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2012-06-01 07:26:28 +02:00
|
|
|
|
Mark BROKEN
In file included from GLVertexBufferObject.cpp:15:
./GLVertexBufferObject.hpp:53:9: error: use of undeclared identifier 'glBindBuffer'
glBindBuffer(GL_ARRAY_BUFFER, _vboBuffer);
^
./GLVertexBufferObject.hpp:54:9: error: use of undeclared identifier 'glBindBuffer'
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, _iboBuffer);
^
./GLVertexBufferObject.hpp:59:9: error: use of undeclared identifier 'glBindBuffer'
glBindBuffer(GL_ARRAY_BUFFER, 0);
^
./GLVertexBufferObject.hpp:60:9: error: use of undeclared identifier 'glBindBuffer'
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0);
^
GLVertexBufferObject.cpp:39:9: error: use of undeclared identifier 'glDeleteBuffers'; did you mean 'glSelectBuffer'?
glDeleteBuffers(1, &_vboBuffer);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/GL/gl.h:1430:23: note: 'glSelectBuffer' declared here
GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );
^
GLVertexBufferObject.cpp:44:9: error: use of undeclared identifier 'glDeleteBuffers'; did you mean 'glSelectBuffer'?
glDeleteBuffers(1, &_iboBuffer);
^~~~~~~~~~~~~~~
glSelectBuffer
/usr/local/include/GL/gl.h:1430:23: note: 'glSelectBuffer' declared here
GLAPI void GLAPIENTRY glSelectBuffer( GLsizei size, GLuint *buffer );
^
GLVertexBufferObject.cpp:55:5: error: use of undeclared identifier 'glGenBuffers'
glGenBuffers( 1, &_vboBuffer);
^
GLVertexBufferObject.cpp:56:5: error: use of undeclared identifier 'glGenBuffers'
glGenBuffers( 1, &_iboBuffer);
^
GLVertexBufferObject.cpp:122:5: error: use of undeclared identifier 'glBufferData'
glBufferData(GL_ARRAY_BUFFER, totalVBOSize, vboRawBuffer, GL_STATIC_DRAW);
^
GLVertexBufferObject.cpp:123:5: error: use of undeclared identifier 'glBufferData'
glBufferData(GL_ELEMENT_ARRAY_BUFFER, totalIBOSize, iboRawBuffer, GL_STATIC_DRAW);
^
Reported by: pkg-fallout
2020-11-01 15:12:59 +01:00
|
|
|
BROKEN= fails to build
|
|
|
|
|
2018-08-19 22:54:13 +02:00
|
|
|
LIB_DEPENDS= libpng.so:graphics/png \
|
|
|
|
libtinyxml.so:textproc/tinyxml
|
2004-05-17 20:38:34 +02:00
|
|
|
|
2019-11-05 23:16:14 +01:00
|
|
|
USES= compiler:c++0x gl sdl tar:bzip2 xorg
|
2008-03-22 09:55:40 +01:00
|
|
|
USE_XORG= x11
|
2014-08-22 18:45:38 +02:00
|
|
|
USE_GL= gl
|
|
|
|
USE_SDL= image mixer sdl
|
games/criticalmass: unbreak with gcc6 or later
In file included from Config.cpp:26:0:
./Config.hpp:94:63: error: template argument 3 is invalid
hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
^
./Config.hpp:94:63: error: template argument 3 is invalid
./Config.hpp:94:63: error: template argument 3 is invalid
./Config.hpp:94:6: error: 'hash_map' is not a type
hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
^~~~~~~~
./Config.hpp:94:14: error: expected ',' or '...' before '<' token
hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
^
./Config.hpp:97:63: error: template argument 3 is invalid
hash_map< string, Value*, hash<string>, equal_to<string> > &kvmap);
^
[...]
2017-02-11 21:05:15 +01:00
|
|
|
USE_CXXSTD= gnu++98
|
2002-08-30 19:47:15 +02:00
|
|
|
GNU_CONFIGURE= yes
|
2004-05-17 20:38:34 +02:00
|
|
|
CONFIGURE_ARGS= --disable-optimize
|
2002-08-30 19:47:15 +02:00
|
|
|
|
2014-08-22 18:45:38 +02:00
|
|
|
CONFLICTS= shaaft-[0-9]*
|
|
|
|
|
2005-03-06 22:34:43 +01:00
|
|
|
PLIST_FILES= bin/Packer \
|
|
|
|
bin/critter \
|
2014-08-22 18:45:38 +02:00
|
|
|
man/man6/critter.6.gz \
|
2005-03-06 22:34:43 +01:00
|
|
|
share/Critical_Mass/resource.dat
|
2014-12-22 22:38:23 +01:00
|
|
|
PLIST_DIRS= share/Critical_Mass
|
2003-06-09 13:46:27 +02:00
|
|
|
|
2014-08-22 18:45:38 +02:00
|
|
|
DESKTOP_ENTRIES="CriticallMass" "" "" "critter" "" ""
|
2005-03-26 22:40:24 +01:00
|
|
|
|
2014-08-22 18:45:38 +02:00
|
|
|
.include <bsd.port.mk>
|