1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/games/bastet/Makefile
Edwin Groothuis f15e5d07ce games/bastet does busy waiting
bastet does busy waiting because the select() call in game.c returns
	with EINVAL. The reason is that timeout does not point to the struct
	timeval in the program but to a ncurses function with the same name. I
	renamed the variable to fix it. Also the value 1000000 is not a valid
	timeout value because it would have to be encoded as 1 second and 0
	microseconds. I fixed it trivially by using 999999 for that value.

	Also I fixed a gcc warning. Anyway I think the function bast_clear has
	to be declared somewhere else.

	Should be easy to fix - temporarily I just put the diff below in my
	files/ directory of the port.

PR:		ports/75208
Submitted by:	Rudolf Polzer <freebsd-dr@durchnull.de>
2004-12-23 06:27:14 +00:00

22 lines
469 B
Makefile

# New ports collection makefile for: bastet
# Date created: 21 Oct 2004
# Whom: Michael Nottebrock <lofi@freebsd.org>
#
# $FreeBSD$
#
PORTNAME= bastet
PORTVERSION= 0.41
PORTREVISION= 1
CATEGORIES= games
MASTER_SITES= http://fph.altervista.org/prog/
EXTRACT_SUFX= .tgz
MAINTAINER= ports@FreeBSD.org
COMMENT= An ncurses Tetris clone which is harder than every other Tetris
USE_GMAKE= yes
MAKE_ENV= DATADIR=${DATADIR}
.include <bsd.port.mk>