diff options
author | jkim <jkim@FreeBSD.org> | 2014-09-19 01:21:41 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2014-09-19 01:21:41 +0800 |
commit | 4b3203fc991532da774a30c1eb83033c304aebe4 (patch) | |
tree | 7e2e5c0812a89ada8fc373fe96fda2ba67b84430 /sysutils | |
parent | 34fb16631e966414ebabfb94b42649da1d3030af (diff) | |
download | freebsd-ports-gnome-4b3203fc991532da774a30c1eb83033c304aebe4.tar.gz freebsd-ports-gnome-4b3203fc991532da774a30c1eb83033c304aebe4.tar.zst freebsd-ports-gnome-4b3203fc991532da774a30c1eb83033c304aebe4.zip |
Fix build for 9.2 and older.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/acpica-tools/Makefile | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sysutils/acpica-tools/Makefile b/sysutils/acpica-tools/Makefile index 5958eb3d661b..e1af5aa775f4 100644 --- a/sysutils/acpica-tools/Makefile +++ b/sysutils/acpica-tools/Makefile @@ -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> |