Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Aug 2023 18:01:32 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: e5fe6519eefd - main - games/crack-attack: Fix build with llvm16
Message-ID:  <202308051801.375I1Wa7090088@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=e5fe6519eefd256c4b9ff728277b5d7a1e257e79

commit e5fe6519eefd256c4b9ff728277b5d7a1e257e79
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-05 15:02:27 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-05 18:01:11 +0000

    games/crack-attack: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Approved by:    portmgr (blanket)
    Sponsored by:   The FreeBSD Foundation
---
 games/crack-attack/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/games/crack-attack/Makefile b/games/crack-attack/Makefile
index 775ec5686b07..1dc936a3f796 100644
--- a/games/crack-attack/Makefile
+++ b/games/crack-attack/Makefile
@@ -8,12 +8,13 @@ MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	OpenGL game based on Super Nintendo classic Tetris Attack
 WWW=		https://www.nongnu.org/crack-attack/
 
-USES=		compiler:c++11-lang gl gnome pkgconfig xorg
-USE_XORG=	x11 xi xmu sm ice
+USES=		compiler:c++11-lang gl gnome localbase pkgconfig xorg
+USE_CXXSTD=	c++14
 USE_GL=		glut
 USE_GNOME=	gtk20
+USE_XORG=	x11 xi xmu sm ice
+
 GNU_CONFIGURE=	yes
-CPPFLAGS+=	-I${LOCALBASE}/include
 
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man6/${PORTNAME}.6.gz \



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