games/wizznic: use clang and unbreak with gcc5 or later

board.o: In function `doRules':
board.c:(.text+0x14b1): undefined reference to `getTicks'
draw.o: In function `drawPath':
draw.c:(.text+0x90d): undefined reference to `plotPixel'
draw.o: In function `draw':
draw.c:(.text+0x9aa): undefined reference to `setting'
[...]

PR:		216707
Reported by:	antoine (via exp-run)
This commit is contained in:
Jan Beich 2017-02-05 03:30:25 +00:00
parent 0bc54d0efb
commit f57478200a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=433344

View File

@ -4,7 +4,7 @@
PORTNAME= wizznic
PORTVERSION= 0.9.9
DISTVERSIONSUFFIX=-src
PORTREVISION= 6
PORTREVISION= 7
CATEGORIES= games
MASTER_SITES= SF/${PORTNAME}/Source%20Releases/
@ -18,10 +18,10 @@ LIB_DEPENDS= libpng.so:graphics/png
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
USES= gmake tar:bzip2
USE_CSTD= gnu89
USE_SDL= image mixer sdl
MAKE_ENV= DATADIR=${DATADIR}/ BINDIR=${PREFIX}/bin
ALL_TARGET= sdl
USE_GCC= yes
PORTDOCS= changelog.txt credits.txt music-score-credits.txt readme.txt