freebsd-ports/games/xpacman/Makefile
Tobias Kortkamp f34a4a891c games/xpacman: Fix build with Clang 6
./shapes.h:63:38: error: constant expression evaluates to 240 which cannot be narrowed to type 'char' [-Wc++11-narrowing]
static SHAPETYPE pacman0_bits[]=    {0xf0, 0x0f, 0xf0, 0x0f, 0xfc, 0x3f, 0xfc, 0x3f, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xfc, 0x3f, 0xfc, 0x3f, 0xf0, 0x0f, 0xf0, 0x0f};
                                     ^~~~

http://beefy12.nyi.freebsd.org/data/head-amd64-default/p475478_s336801/logs/errors/xpacman-1.002.log
2018-07-30 09:38:55 +00:00

28 lines
621 B
Makefile

# Created by: joerg
# $FreeBSD$
PORTNAME= xpacman
PORTVERSION= 1.002
CATEGORIES= games
MASTER_SITES= ftp://ftp.nvg.unit.no/pub/pacman/
DISTNAME= pacman-1_002
MAINTAINER= ports@FreeBSD.org
COMMENT= Old action game
LICENSE= GPLv2
RUN_DEPENDS+= ${LOCALBASE}/share/fonts/misc/9x18.pcf.gz:x11-fonts/font-misc-misc
USES= compiler
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--enable-doublesize
# Build ignores CFLAGS, CXXFLAGS
CPPFLAGS+= -I${LOCALBASE}/include ${CPPFLAGS_${CHOSEN_COMPILER_TYPE}}
CPPFLAGS_clang= -Wno-c++11-narrowing
LDFLAGS+= -L${LOCALBASE}/lib
USE_XORG= x11 xext
PLIST_FILES= bin/pacman
.include <bsd.port.mk>