svn commit: r425913 - head/games/tome4

Matthew Seaman matthew at FreeBSD.org
Fri Nov 11 22:00:42 UTC 2016


Author: matthew
Date: Fri Nov 11 22:00:41 2016
New Revision: 425913
URL: https://svnweb.freebsd.org/changeset/ports/425913

Log:
  Fix build from command-line: use-before-defined of ${ARCH}
  
  Curiously, test bulding with poudriere worked fine.
  
  PR:		214411
  Reported by:	FreshPorts sanity checking
  MFH:		2016Q4

Modified:
  head/games/tome4/Makefile

Modified: head/games/tome4/Makefile
==============================================================================
--- head/games/tome4/Makefile	Fri Nov 11 21:58:40 2016	(r425912)
+++ head/games/tome4/Makefile	Fri Nov 11 22:00:41 2016	(r425913)
@@ -34,6 +34,9 @@ SUB_FILES=	tome4
 MAKE_JOBS_UNSAFE=yes
 
 LUA_TYPE=
+
+.include <bsd.port.pre.mk>
+
 pre-build:
 	@${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/premake4.lua
 .if ${ARCH} == aarch64
@@ -51,4 +54,4 @@ do-install:
 	${INSTALL_DATA} ${_DISTDIR}/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>


More information about the svn-ports-all mailing list