Skip to content

Commit

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

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 20, 2023
1 parent 432d465 commit 07fa2c2
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions games/xbubble/Makefile
Expand Up @@ -13,17 +13,22 @@ LICENSE_FILE= ${WRKSRC}/COPYING

LIB_DEPENDS= libpng.so:graphics/png

USES= gmake xorg
USES= gmake localbase:ldflags xorg
USE_XORG= x11 xmu
GNU_CONFIGURE= yes

CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
GNU_CONFIGURE= yes

OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes

NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
NLS_LIBS= -lintl

.include <bsd.port.options.mk>

.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif

.include <bsd.port.mk>

0 comments on commit 07fa2c2

Please sign in to comment.