summaryrefslogtreecommitdiff
path: root/textproc
diff options
context:
space:
mode:
authordanw <danw>2004-05-03 23:45:56 +0000
committerdanw <danw>2004-05-03 23:45:56 +0000
commit32fd50f3ad0f43c849ab04216cd0201343d60efe (patch)
tree8ee57a09ed5911299f4301b0803059c4c11a6ce4 /textproc
parent9e7922ccdc47c18860e5f2b9907e119fd4b052d2 (diff)
downloadpkgsrc-32fd50f3ad0f43c849ab04216cd0201343d60efe.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')
-rw-r--r--textproc/hevea/Makefile7
-rw-r--r--textproc/hevea/distinfo4
-rw-r--r--textproc/hevea/patches/patch-aa6
3 files changed, 11 insertions, 6 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
diff --git a/textproc/hevea/distinfo b/textproc/hevea/distinfo
index 821ded439f8..55a5a2bb59a 100644
--- a/textproc/hevea/distinfo
+++ b/textproc/hevea/distinfo
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.4 2003/11/10 23:15:21 dmcmahill Exp $
+$NetBSD: distinfo,v 1.5 2004/05/03 23:45:56 danw Exp $
SHA1 (hevea-1.06.tar.gz) = e973ed329287adbf64703c578401ad0287c895f7
Size (hevea-1.06.tar.gz) = 231094 bytes
-SHA1 (patch-aa) = e79ae6d0a7ed4929d57483ff5dcf8b325606cbed
+SHA1 (patch-aa) = 2bbd2a20767e9c15b54ddfd61077a38cf85649d4
diff --git a/textproc/hevea/patches/patch-aa b/textproc/hevea/patches/patch-aa
index bdd80d79e4e..235f89f10f0 100644
--- a/textproc/hevea/patches/patch-aa
+++ b/textproc/hevea/patches/patch-aa
@@ -1,6 +1,6 @@
-$NetBSD: patch-aa,v 1.4 2003/11/10 23:15:21 dmcmahill Exp $
+$NetBSD: patch-aa,v 1.5 2004/05/03 23:45:56 danw Exp $
---- Makefile.orig Fri Feb 15 15:47:09 2002
+--- Makefile.orig Fri Feb 15 10:47:09 2002
+++ Makefile
@@ -1,12 +1,12 @@
################## Configuration parameters
@@ -15,7 +15,7 @@ $NetBSD: patch-aa,v 1.4 2003/11/10 23:15:21 dmcmahill Exp $
+BINDIR=${PREFIX}/bin
# A replacement for /lib/cpp
-CPP=gcc -E -P -x c
-+#CPP=gcc -E -P -x c
++CPP=${M4}
############### End of configuration parameters
SUF=
#DIR=/usr/bin/