svn commit: r335927 - head/games/atris

John Marino marino at FreeBSD.org
Sun Dec 8 19:21:24 UTC 2013


Author: marino
Date: Sun Dec  8 19:21:23 2013
New Revision: 335927
URL: http://svnweb.freebsd.org/changeset/ports/335927

Log:
  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

Modified:
  head/games/atris/Makefile

Modified: head/games/atris/Makefile
==============================================================================
--- head/games/atris/Makefile	Sun Dec  8 19:10:41 2013	(r335926)
+++ head/games/atris/Makefile	Sun Dec  8 19:21:23 2013	(r335927)
@@ -10,7 +10,7 @@ MASTER_SITES=	http://www.sourcefiles.org
 MAINTAINER=	ports at 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


More information about the svn-ports-head mailing list