diff --git a/games/xbubble/Makefile b/games/xbubble/Makefile index 9fb1c5644d80..00e3542d40ee 100644 --- a/games/xbubble/Makefile +++ b/games/xbubble/Makefile @@ -1,29 +1,34 @@ PORTNAME= xbubble PORTVERSION= 0.5.8 PORTREVISION= 7 CATEGORIES= games MASTER_SITES= GENTOO MAINTAINER= ports@FreeBSD.org COMMENT= Puzzle Bobble clone for Unix/X11 platforms WWW= https://www.nongnu.org/xbubble/ LICENSE= GPLv2+ 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 + +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400091 +CFLAGS+= -Wno-error=incompatible-function-pointer-types +.endif + .include