freebsd-ports/math/poly2tri/Makefile
Piotr Kubaj f3531eaf97 math/poly2tri: fix build on GCC architectures
Use C11 compiler:
../poly2tri/common/shapes.cc: In function 'bool p2t::IsDelaunay(const std::vector<p2t::Triangle*, std::allocator<p2t::Triangle*> >&)':
../poly2tri/common/shapes.cc:394: error: a function-definition is not allowed here before ':' token
../poly2tri/common/shapes.cc:409: error: expected primary-expression at end of input
2020-02-04 09:59:25 +00:00

26 lines
498 B
Makefile

# $FreeBSD$
PORTNAME= poly2tri
DISTVERSION= g20191130
CATEGORIES= math
MAINTAINER= yuri@FreeBSD.org
COMMENT= 2D constrained Delaunay triangulation library
LICENSE= BSD3CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libglfw.so:graphics/glfw
USES= compiler:c11 gl localbase:ldflags waf
USE_GITHUB= yes
GH_ACCOUNT= jhasse
GH_TAGNAME= e6e63dd29ef0805b3e40fe1832c2f1fe2307943a
USE_GL= gl
PLIST_FILES= bin/p2t
post-stage:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/p2t
.include <bsd.port.mk>