Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jul 2023 15:04:10 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: a79a5d257e8d - main - games/xminehunter: Fix build with llvm16
Message-ID:  <202307261504.36QF4AUv087714@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=a79a5d257e8dfefac7023aebcc22728d8371b1da

commit a79a5d257e8dfefac7023aebcc22728d8371b1da
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-07-26 14:11:58 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-07-26 15:04:01 +0000

    games/xminehunter: Fix build with llvm16
    
    - Utilize USES=localbase
    
    Sponsored by:   The FreeBSD Foundation
---
 games/xminehunter/Makefile | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/games/xminehunter/Makefile b/games/xminehunter/Makefile
index c62e48e3b48d..9f99cf126676 100644
--- a/games/xminehunter/Makefile
+++ b/games/xminehunter/Makefile
@@ -14,14 +14,13 @@ LICENSE_PERMS=	dist-mirror pkg-mirror auto-accept
 
 WRKSRC=		${WRKDIR}/${PORTNAME}
 
-USES=		compiler motif xorg
+USES=		compiler motif localbase:ldflags xorg
+USE_CXXSTD=	c++14
 USE_XORG=	xpm
 ALL_TARGET=	${PORTNAME}
 
 CXXFLAGS+=	${CXXFLAGS_${CHOSEN_COMPILER_TYPE}}
 CXXFLAGS_clang=	-Wno-c++11-narrowing
-CPPFLAGS+=	-I${LOCALBASE}/include
-LDFLAGS+=	-L${LOCALBASE}/lib
 
 DESKTOP_ENTRIES="XMineHunter" "" "${PREFIX}/share/pixmaps/${PORTNAME}.xpm" \
 		"${PORTNAME}" "" ""



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