ports/89963: [maintainer-update] devel/ocaml-ulex : fix a bug with OCaml 3.09

Marwan Burelle burelle at lri.fr
Mon Dec 5 07:50:06 UTC 2005


>Number:         89963
>Category:       ports
>Synopsis:       [maintainer-update] devel/ocaml-ulex : fix a bug with OCaml 3.09
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Dec 05 07:50:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Marwan Burelle
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
http://www.cduce.org 
>Environment:


System: FreeBSD 6.0-RELEASE #0: Fri Nov 18 19:48:43 CET 2005
    root at melkor.kh405.net:/usr/obj/usr/src/sys/Ker_Melkor



>Description:


Some error in a script prevent ocaml-ulex building with OCaml 3.09.


>How-To-Repeat:





>Fix:


--- patch-ocaml-ulex begins here ---
diff -ruN ocaml-ulex.orig/Makefile ocaml-ulex/Makefile
--- ocaml-ulex.orig/Makefile	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/Makefile	Mon Dec  5 08:34:11 2005
@@ -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 -ruN ocaml-ulex.orig/distinfo ocaml-ulex/distinfo
--- ocaml-ulex.orig/distinfo	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/distinfo	Mon Dec  5 08:37:33 2005
@@ -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 -ruN ocaml-ulex.orig/files/patch-pa_ulex::mk_pa_ulex ocaml-ulex/files/patch-pa_ulex::mk_pa_ulex
--- ocaml-ulex.orig/files/patch-pa_ulex::mk_pa_ulex	Thu Jan  1 01:00:00 1970
+++ ocaml-ulex/files/patch-pa_ulex::mk_pa_ulex	Mon Dec  5 08:31:39 2005
@@ -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 -ruN ocaml-ulex.orig/pkg-descr ocaml-ulex/pkg-descr
--- ocaml-ulex.orig/pkg-descr	Mon Dec  5 08:38:58 2005
+++ ocaml-ulex/pkg-descr	Mon Dec  5 08:34:42 2005
@@ -1 +1 @@
-Ulex: A OCaml lexer generator for Unicode.
+Ulex: An OCaml lexer generator for Unicode.
--- patch-ocaml-ulex ends here ---



>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list