From cfd7ec46dc55c6a384340328af903c15d0b290a3 Mon Sep 17 00:00:00 2001 From: Ade Lovett Date: Tue, 5 Dec 2006 18:36:17 +0000 Subject: [PATCH] Unbreak on FreeBSD < 6.0 PR: 106379 (with minor changes) Submitted by: Jonathan Lennox --- devel/m4/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/devel/m4/Makefile b/devel/m4/Makefile index b3ed8f842d3c..6711cb3ff253 100644 --- a/devel/m4/Makefile +++ b/devel/m4/Makefile @@ -29,8 +29,15 @@ MAN1= gm4.1 EXAMPLESDIR= share/examples/gm4 +.include + +.if ${OSVERSION} < 600000 +BUILD_DEPENDS+= ${LOCALBASE}/bin/makeinfo:${PORTSDIR}/print/texinfo +CONFIGURE_ENV+= MAKEINFO=${LOCALBASE}/bin/makeinfo +.endif + post-install: @${MKDIR} ${PREFIX}/${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/*.m4 ${PREFIX}/${EXAMPLESDIR} -.include +.include