aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-ulex
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2005-12-05 17:00:40 +0000
committerRenato Botelho <garga@FreeBSD.org>2005-12-05 17:00:40 +0000
commita009c47d48cec0cb4efda41c98f2c734f479c7fc (patch)
tree765b7727245e295ef16cb630ce470ca023cfdba6 /devel/ocaml-ulex
parentce480365f542c33b72fa52d34e40eee4c11b5362 (diff)
downloadports-a009c47d48cec0cb4efda41c98f2c734f479c7fc.tar.gz
ports-a009c47d48cec0cb4efda41c98f2c734f479c7fc.zip
- Fix build with ocaml 3.09
- Add SHA256 - Bump PORTREVISION PR: ports/89963 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=150479
Diffstat (limited to 'devel/ocaml-ulex')
-rw-r--r--devel/ocaml-ulex/Makefile2
-rw-r--r--devel/ocaml-ulex/distinfo1
-rw-r--r--devel/ocaml-ulex/files/patch-mk_pa_ulex.ml9
-rw-r--r--devel/ocaml-ulex/pkg-descr2
4 files changed, 12 insertions, 2 deletions
diff --git a/devel/ocaml-ulex/Makefile b/devel/ocaml-ulex/Makefile
index f9d99f94dc87..52ceeaa9d83f 100644
--- a/devel/ocaml-ulex/Makefile
+++ b/devel/ocaml-ulex/Makefile
@@ -8,7 +8,7 @@
PORTNAME= ulex
PORTVERSION= 0.7
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= devel
MASTER_SITES= http://www.cduce.org/download/
PKGNAMEPREFIX= ocaml-
diff --git a/devel/ocaml-ulex/distinfo b/devel/ocaml-ulex/distinfo
index 7fc780b9c953..1c899d2d06e6 100644
--- a/devel/ocaml-ulex/distinfo
+++ b/devel/ocaml-ulex/distinfo
@@ -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
diff --git a/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml b/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
new file mode 100644
index 000000000000..1932b4e5ace6
--- /dev/null
+++ b/devel/ocaml-ulex/files/patch-mk_pa_ulex.ml
@@ -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"
+ )
diff --git a/devel/ocaml-ulex/pkg-descr b/devel/ocaml-ulex/pkg-descr
index 7fc14a35518b..707c4a6f1e08 100644
--- a/devel/ocaml-ulex/pkg-descr
+++ b/devel/ocaml-ulex/pkg-descr
@@ -1 +1 @@
-Ulex: A OCaml lexer generator for Unicode.
+Ulex: An OCaml lexer generator for Unicode.