From 14c239f42a0e7650a715a2b78ba29d9b35bef99a Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 8 Dec 2013 19:21:23 +0000 Subject: games/atris: Use gmake as specified This port specifies gmake, but "make" was hardcoded. This becomes apparent when bmake is used to build the port (it fails). The new post-patch command allows gmake to be used as intended. PR: ports/181731 Submitted by: Jan Beich --- games/atris/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'games/atris') diff --git a/games/atris/Makefile b/games/atris/Makefile index b62b5e1ca4ca..9b1576eeab91 100644 --- a/games/atris/Makefile +++ b/games/atris/Makefile @@ -10,7 +10,7 @@ MASTER_SITES= http://www.sourcefiles.org/Games/Arcade/Block_Based/Tetris/ MAINTAINER= ports@FreeBSD.org COMMENT= Atris: Alizarin Tetris -USE_GMAKE= yes +USES= gmake USE_SDL= sdl ttf GNU_CONFIGURE= yes @@ -24,6 +24,9 @@ post-patch: # Fix path to ${DATADIR} ${REINPLACE_CMD} -e 's|\(GAME_INSTALLDIR=\).*|\1"${DATADIR}"|' \ ${CONFIGURE_WRKSRC}/${CONFIGURE_SCRIPT} +# Fix install target to use gmake + ${REINPLACE_CMD} -e '/^install:/,/^$$/s/make/$$(MAKE)/' \ + ${WRKSRC}/Makefile.in # Fix SDL include statement .for f in *.c *.h -- cgit v1.2.3