summaryrefslogtreecommitdiff
path: root/textproc/hevea/Makefile
diff options
context:
space:
mode:
authordanw <danw@pkgsrc.org>2004-05-03 23:45:56 +0000
committerdanw <danw@pkgsrc.org>2004-05-03 23:45:56 +0000
commit414a6efb5e2fd665760709a87c45583818203c12 (patch)
tree8ee57a09ed5911299f4301b0803059c4c11a6ce4 /textproc/hevea/Makefile
parentf6933dead1e32f1e411eeb4b06792e89aabac356 (diff)
downloadpkgsrc-414a6efb5e2fd665760709a87c45583818203c12.tar.gz
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++
Diffstat (limited to 'textproc/hevea/Makefile')
-rw-r--r--textproc/hevea/Makefile7
1 files changed, 6 insertions, 1 deletions
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