On 2017/09/24 19:39, Jérôme KASPER wrote:
> Hi ports,
>
> as i’ve been asked to repost the work as inline diff , here it is :
>
> index 76ca41ffd7e..61c4b5be6ce 100644
> --- Makefile
> +++ Makefile
> @@ -1,12 +1,10 @@
> -# $OpenBSD: Makefile,v 1.7 2017/07/27 09:55:45 sthen Exp $
> +# $OpenBSD: Makefile,v 1.8 2017/09/24 02:19:45 jkasper Exp $
>
> COMMENT= C++ mathematics header-only library for OpenGL software
>
> -GH_TAGNAME= 0.9.8.4
> GH_PROJECT= glm
> GH_ACCOUNT= g-truc
> -DISTNAME= ${GH_PROJECT}-${GH_TAGNAME}
> -REVISION= 0
> +GH_TAGNAME= 0.9.8.5
>
> CATEGORIES= graphics math
>
> @@ -17,14 +15,13 @@ PERMIT_PACKAGE_CDROM= Yes
>
> MODULES= devel/cmake
>
> -COMPILER = gcc
> -WANTLIB += ${COMPILER_LIBCXX}
> +WANTLIB += c ${COMPILER_LIBCXX}
>
> # it's kind-of a NO_BUILD port, but doing so means you can't
> # run the tests.
> CONFIGURE_ARGS+=-DGLM_TEST_ENABLE=BOOLEAN=ON
>
> -CXXFLAGS+= -Wno-long-long
> +CXXFLAGS+= -std=c++11 -Wno-long-long
You *must* have a valid COMPILER line for a port that uses --std=c++11.