freebsd-ports/math/glm/Makefile
Mark Linimon 13fb0b92a2 Fix port builds for architectures which remain on gcc as the default compiler.
This will primarily help powerpc64.

For archs where clang is the default compiler, these changes will have no
effect, as the base compiler already has these capabilities (primarily, but
not exclusively, c++-11).

Tested for no-harm on amd64.

While here, pet portlint.

Approved by:	portmgr (tier-2 blanket)
2018-06-11 01:44:15 +00:00

25 lines
477 B
Makefile

# Created by: demon@FreeBSD.org
# $FreeBSD$
PORTNAME= glm
PORTVERSION= 0.9.8.5
PORTEPOCH= 1
CATEGORIES= math graphics
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= C++ mathematics library for software based on the OpenGL GLSL
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/copying.txt
USES= cmake:outsource compiler:c++11-lang pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= g-truc
NO_ARCH= yes
OPTIONS_DEFINE= TEST
TEST_CMAKE_BOOL= GLM_TEST_ENABLE
TEST_TEST_TARGET= test
.include <bsd.port.mk>