Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Sep 2014 17:21:41 +0000 (UTC)
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r368501 - head/sysutils/acpica-tools
Message-ID:  <201409181721.s8IHLf2c056312@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jkim
Date: Thu Sep 18 17:21:41 2014
New Revision: 368501
URL: http://svnweb.freebsd.org/changeset/ports/368501
QAT: https://qat.redports.org/buildarchive/r368501/

Log:
  Fix build for 9.2 and older.

Modified:
  head/sysutils/acpica-tools/Makefile

Modified: head/sysutils/acpica-tools/Makefile
==============================================================================
--- head/sysutils/acpica-tools/Makefile	Thu Sep 18 16:41:33 2014	(r368500)
+++ head/sysutils/acpica-tools/Makefile	Thu Sep 18 17:21:41 2014	(r368501)
@@ -27,8 +27,15 @@ WRKSRC_SUBDIR=	generate/unix
 MAKE_ARGS=	HOST=_FreeBSD NOOPT=TRUE PROGS="${ACPICA_TOOLS}"
 MAKE_ARGS+=	CC="${CC}" LEX="${FLEX}" YACC="${YACC}"
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 902505
+BUILD_DEPENDS+=	gm4:${PORTSDIR}/devel/m4
+MAKE_ARGS+=	MACROPROC="${LOCALBASE}/bin/gm4"
+.endif
+
 do-install:
 	@${INSTALL_PROGRAM} ${ACPICA_TOOLS:S,^,${WRKSRC}/bin/,} \
 	    ${STAGEDIR}${PREFIX}/bin
 
-.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?201409181721.s8IHLf2c056312>