Bug 181731 - [patch] games/atris: unbreak with bmake
Summary: [patch] games/atris: unbreak with bmake
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: John Marino
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-01 21:30 UTC by Jan Beich
Modified: 2013-12-08 19:53 UTC (History)
0 users

See Also:


Attachments
make.diff (547 bytes, patch)
2013-09-01 21:30 UTC, Jan Beich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 John Marino freebsd_committer freebsd_triage 2013-12-08 12:24:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->marino

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-12-08 19:21:31 UTC
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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 John Marino freebsd_committer freebsd_triage 2013-12-08 19:53:04 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!