Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jul 2023 17:43:36 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: 86b2b0621687 - main - games/openglad: Fix build with llvm16
Message-ID:  <202307201743.36KHha3g036911@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=86b2b06216876903b33f768c4a1ae63297d5b5f3

commit 86b2b06216876903b33f768c4a1ae63297d5b5f3
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-20 17:26:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-20 17:42:39 +0000

    games/openglad: Fix build with llvm16
    
    - Utilize USES=localbase
    - Pet portclippy
    
    Sponsored by:   The FreeBSD Foundation
---
 games/openglad/Makefile | 11 +++++------
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/games/openglad/Makefile b/games/openglad/Makefile
index cc87a901bd46..f60b0feff597 100644
--- a/games/openglad/Makefile
+++ b/games/openglad/Makefile
@@ -11,17 +11,16 @@ WWW=		http://snowstorm.sourceforge.net
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		gmake sdl
+NOT_FOR_ARCHS=	sparc64
+
+USES=		gmake localbase:ldflags sdl
+USE_CXXSTD=	c++14
 USE_SDL=	sdl mixer
-GNU_CONFIGURE=	yes
 
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
+GNU_CONFIGURE=	yes
 
 DESKTOP_ENTRIES="OpenGlad" "" "" "${PORTNAME}" "" ""
 
-NOT_FOR_ARCHS=	sparc64
-
 OPTIONS_DEFINE=	DOCS
 
 post-patch:



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