Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2013 19:21:24 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335927 - head/games/atris
Message-ID:  <201312081921.rB8JLOtP011630@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312081921.rB8JLOtP011630>