1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

games/xminehunter: Fix build with llvm16

- Utilize USES=localbase

Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-07-26 16:11:58 +02:00
parent f133679f32
commit a79a5d257e

View File

@ -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}" "" ""