From 414a6efb5e2fd665760709a87c45583818203c12 Mon Sep 17 00:00:00 2001 From: danw Date: Mon, 3 May 2004 23:45:56 +0000 Subject: darwin is anal about cpp being a *C* preprocessor, so use m4 here instead. Also fix a braino in the Makefile that resulted in it always using the bytecode compiler rather than the native compiler. PKGREVISION++ --- textproc/hevea/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'textproc/hevea/Makefile') diff --git a/textproc/hevea/Makefile b/textproc/hevea/Makefile index 887ed9ae877..8cbbab63156 100644 --- a/textproc/hevea/Makefile +++ b/textproc/hevea/Makefile @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.7 2003/07/24 16:18:38 jtb Exp $ +# $NetBSD: Makefile,v 1.8 2004/05/03 23:45:56 danw Exp $ DISTNAME= hevea-1.06 +PKGREVISION= 1 CATEGORIES= textproc MASTER_SITES= http://para.inria.fr/~maranget/hevea/distri/ @@ -10,6 +11,10 @@ COMMENT= LaTeX to HTML translator BUILD_DEPENDS+= ocaml>=3.00:../../lang/ocaml +MAKE_ENV+= M4="${M4}" + +.include "../../mk/bsd.prefs.mk" + .if (${MACHINE_ARCH} == "i386") || (${MACHINE_ARCH} == "powerpc") || (${MACHINE_ARCH} == "sparc") MAKE_ENV+= TARGET=opt .else -- cgit v1.2.3