blob: 68b5d923ee5927acf8992c4f72f5b31b80ea9424 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.18 2020/05/20 06:09:10 rillig Exp $
#
DISTNAME= xye-0.12.1
PKGREVISION= 1
CATEGORIES= games
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xye/0.12.1/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://xye.sourceforge.net/
COMMENT= Kye clone
GNU_CONFIGURE= yes
#CONFIGURE_ARGS+= --with-docdir=${PREFIX}/share/doc
USE_LANGUAGES= c c++03
SUBST_CLASSES+= crlf
SUBST_MESSAGE.crlf= stripping EOL CR
SUBST_STAGE.crlf= post-extract
SUBST_FILES.crlf= */*
SUBST_FILTER_CMD.crlf= ${TR} -d '\r'
# src/xye.cpp: In static member function 'static void game::start(bool)':
# src/xye.cpp:1225:23: error: array subscript has type 'char' [-Werror=char-subscripts]
# sq=&grid[i][j];
# ^
# Maybe fix this later.
BUILDLINK_TRANSFORM+= rm:-Werror=char-subscripts
.include "../../devel/SDL/buildlink3.mk"
.include "../../graphics/SDL_image/buildlink3.mk"
.include "../../devel/SDL_ttf/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|