Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Nov 2016 22:00:41 +0000 (UTC)
From:      Matthew Seaman <matthew@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r425913 - head/games/tome4
Message-ID:  <201611112200.uABM0fxN059373@repo.freebsd.org>

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



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