Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jun 2020 20:19:24 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r539495 - head/math/cglm
Message-ID:  <202006172019.05HKJOlJ044160@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Wed Jun 17 20:19:23 2020
New Revision: 539495
URL: https://svnweb.freebsd.org/changeset/ports/539495

Log:
  Add compiler:c11 to USES to fix build on GCC-based systems:
  
    CMake Error in CMakeLists.txt:
    Target "cglm" requires the language dialect "C11" (with compiler
    extensions), but CMake does not know the compile flags to use to enable it.
  
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/math/cglm/Makefile

Modified: head/math/cglm/Makefile
==============================================================================
--- head/math/cglm/Makefile	Wed Jun 17 20:15:21 2020	(r539494)
+++ head/math/cglm/Makefile	Wed Jun 17 20:19:23 2020	(r539495)
@@ -11,7 +11,7 @@ COMMENT=	Highly optimized graphics math (glm) for C
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		cmake
+USES=		cmake compiler:c11
 USE_GITHUB=	yes
 GH_ACCOUNT=	recp
 USE_LDCONFIG=	yes



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006172019.05HKJOlJ044160>