- Fix build with ocaml 3.09

- Add SHA256
- Bump PORTREVISION

PR:		ports/89963
Submitted by:	maintainer
This commit is contained in:
Renato Botelho 2005-12-05 17:00:40 +00:00
parent ce480365f5
commit a009c47d48
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=150479
4 changed files with 12 additions and 2 deletions

View file

@ -8,7 +8,7 @@
PORTNAME= ulex
PORTVERSION= 0.7
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cduce.org/download/
PKGNAMEPREFIX= ocaml-

View file

@ -1,2 +1,3 @@
MD5 (ulex-0.7.tar.gz) = cb70dcb25b1f8119abde0bf2b29c1492
SHA256 (ulex-0.7.tar.gz) = 63997e25277ca4edd827502bbb09b14ae852299b59bea0f8286519d4c51c02fa
SIZE (ulex-0.7.tar.gz) = 17444

View file

@ -0,0 +1,9 @@
--- mk_pa_ulex.ml.orig Mon Dec 5 08:30:22 2005
+++ mk_pa_ulex.ml Mon Dec 5 08:30:33 2005
@@ -1,5 +1,5 @@
let s = float_of_string (String.sub (Sys.ocaml_version) 0 4) in
-if (s <= 3.09) then (
+if (s < 3.09) then (
print_endline "Old camlp4 (loc)";
Sys.command "sed s/_loc/loc/ < pa_ulex.ml.src > pa_ulex.ml"
)

View file

@ -1 +1 @@
Ulex: A OCaml lexer generator for Unicode.
Ulex: An OCaml lexer generator for Unicode.