diff options
author | garga <garga@FreeBSD.org> | 2005-12-06 01:00:40 +0800 |
---|---|---|
committer | garga <garga@FreeBSD.org> | 2005-12-06 01:00:40 +0800 |
commit | 3b5e8baa6b10cf19ba8a7197086abcb2c0c526f8 (patch) | |
tree | d19812f9428896ce38f581ced8c0650aed39c91e /devel/ocaml-ulex | |
parent | 7bc64e43bbfdeea00dec2fd4c5c1037e98085f59 (diff) | |
download | freebsd-ports-gnome-3b5e8baa6b10cf19ba8a7197086abcb2c0c526f8.tar.gz freebsd-ports-gnome-3b5e8baa6b10cf19ba8a7197086abcb2c0c526f8.tar.zst freebsd-ports-gnome-3b5e8baa6b10cf19ba8a7197086abcb2c0c526f8.zip |
- Fix build with ocaml 3.09
- Add SHA256
- Bump PORTREVISION
PR: ports/89963
Submitted by: maintainer
Diffstat (limited to 'devel/ocaml-ulex')
-rw-r--r-- | devel/ocaml-ulex/Makefile | 2 | ||||
-rw-r--r-- | devel/ocaml-ulex/distinfo | 1 | ||||
-rw-r--r-- | devel/ocaml-ulex/files/patch-mk_pa_ulex.ml | 9 | ||||
-rw-r--r-- | devel/ocaml-ulex/pkg-descr | 2 |
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. |