pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

entityx: compile with c++14



Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <yorickhardy%gmail.com@localhost>
Pushed By:	yhardy
Date:		Sat Jun 22 07:46:09 2024 +0200
Changeset:	e62df20a8767d271d5aab61d94c2b6d515828bbc

Modified Files:
	entityx/Makefile

Log Message:
entityx: compile with c++14

This fixes compilation with newer GCC.
While here, re-order variables as suggested by pkglint.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=e62df20a8767d271d5aab61d94c2b6d515828bbc

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 entityx/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diffs:
diff --git a/entityx/Makefile b/entityx/Makefile
index 41e3868d4d..b6530f1bac 100644
--- a/entityx/Makefile
+++ b/entityx/Makefile
@@ -1,11 +1,11 @@
 # $NetBSD$
 
-GITHUB_PROJECT=	entityx
-GITHUB_TAG=	1.3.0
 DISTNAME=	${GITHUB_TAG}
 PKGNAME=	${GITHUB_PROJECT}-${DISTNAME}
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_GITHUB:=alecthomas/}
+GITHUB_PROJECT=	entityx
+GITHUB_TAG=	1.3.0
 DIST_SUBDIR=	${GITHUB_PROJECT}
 
 MAINTAINER=	pkgsrc-users%NetBSD.org@localhost
@@ -17,6 +17,7 @@ WRKSRC=		${WRKDIR}/entityx-${GITHUB_TAG}
 USE_CMAKE=	yes
 USE_TOOLS+=	pkg-config
 USE_LANGUAGES=	c c++
+FORCE_CXX_STD=	c++14
 
 PKGCONFIG_OVERRIDE+=	entityx.pc.in
 


Home | Main Index | Thread Index | Old Index