pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/hevea darwin is anal about cpp being a *C* pr...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/57acc3f2ec2c
branches:  trunk
changeset: 474689:57acc3f2ec2c
user:      danw <danw%pkgsrc.org@localhost>
date:      Mon May 03 23:45:56 2004 +0000

description:
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:

 textproc/hevea/Makefile         |  7 ++++++-
 textproc/hevea/distinfo         |  4 ++--
 textproc/hevea/patches/patch-aa |  6 +++---
 3 files changed, 11 insertions(+), 6 deletions(-)

diffs (55 lines):

diff -r 0d325b343fdd -r 57acc3f2ec2c textproc/hevea/Makefile
--- a/textproc/hevea/Makefile   Mon May 03 23:45:18 2004 +0000
+++ b/textproc/hevea/Makefile   Mon May 03 23:45:56 2004 +0000
@@ -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 @@
 
 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 -r 0d325b343fdd -r 57acc3f2ec2c textproc/hevea/distinfo
--- a/textproc/hevea/distinfo   Mon May 03 23:45:18 2004 +0000
+++ b/textproc/hevea/distinfo   Mon May 03 23:45:56 2004 +0000
@@ -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 -r 0d325b343fdd -r 57acc3f2ec2c textproc/hevea/patches/patch-aa
--- a/textproc/hevea/patches/patch-aa   Mon May 03 23:45:18 2004 +0000
+++ b/textproc/hevea/patches/patch-aa   Mon May 03 23:45:56 2004 +0000
@@ -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 @@
 +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/



Home | Main Index | Thread Index | Old Index