Skip to content

Commit

Permalink
games/xminehunter: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Utilize USES=localbase

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 26, 2023
1 parent f133679 commit a79a5d2
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions games/xminehunter/Makefile
Expand Up @@ -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}" "" ""
Expand Down

0 comments on commit a79a5d2

Please sign in to comment.