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
This commit is contained in:
parent
42058a78a3
commit
14c239f42a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335927
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user