From marwan.burelle@lri.fr  Tue Jun  7 12:28:32 2005
Return-Path: <marwan.burelle@lri.fr>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id E65C516A41C
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Jun 2005 12:28:32 +0000 (GMT)
	(envelope-from marwan.burelle@lri.fr)
Received: from lri.lri.fr (lri.lri.fr [129.175.15.1])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 656D843D48
	for <FreeBSD-gnats-submit@freebsd.org>; Tue,  7 Jun 2005 12:28:32 +0000 (GMT)
	(envelope-from marwan.burelle@lri.fr)
Received: from localhost (localhost [127.0.0.1])
	by lri.lri.fr (Postfix) with ESMTP
	id 01E3919E8B7; Tue,  7 Jun 2005 14:28:30 +0200 (CEST)
Received: from lri.lri.fr ([127.0.0.1])
 by localhost (lri.lri.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP
 id 14081-01; Tue,  7 Jun 2005 14:28:29 +0200 (CEST)
Received: from pc5-179.lri.fr (pc5-179 [129.175.5.179])
	(using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits))
	(No client certificate requested)
	by lri.lri.fr (Postfix) with ESMTP
	id DC61F19E894; Tue,  7 Jun 2005 14:28:29 +0200 (CEST)
Received: from pc5-179.lri.fr (pc5-179.lri.fr [129.175.5.179])
	by pc5-179.lri.fr (8.13.3/8.13.1) with ESMTP id j57CST8u053370;
	Tue, 7 Jun 2005 14:28:29 +0200 (CEST)
	(envelope-from marwan.burelle@lri.fr)
Message-Id: <1118147309.0@pc5-179.lri.fr>
Date: Tue, 7 Jun 2005 14:28:29 +0200
From: "Marwan Burelle <marwan.burelle@lri.fr>" <marwan.burelle@lri.fr>
To: "FreeBSD gnats submit" <FreeBSD-gnats-submit@freebsd.org>
Cc: marwan.burelle@lri.fr
Subject: [maintainer-update] devel/ocaml-ulex : update to version 0.7
X-Send-Pr-Version: gtk-send-pr 0.4.6 
X-GNATS-Notify:

>Number:         81991
>Category:       ports
>Synopsis:       [maintainer-update] devel/ocaml-ulex : update to version 0.7
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    thierry
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 07 12:30:30 GMT 2005
>Closed-Date:    Wed Jun 08 21:21:59 GMT 2005
>Last-Modified:  Wed Jun 08 21:21:59 GMT 2005
>Originator:     Marwan Burelle <marwan.burelle@lri.fr>
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
>Environment:


System: FreeBSD 5.4-STABLE #0: Fri May 27 16:10:41 CEST 2005
    root@:/usr/home/obj/usr/src/sys/KER_pc5-179



>Description:


Update to new release version, also add OCAMLFIND_DESTDIR to MAKE_ENV, for in order for ocamlfind to respect PREFIX.


>How-To-Repeat:





>Fix:


--- new-ocaml-ulex-port begins here ---
diff -ruN /usr/ports/devel/ocaml-ulex/Makefile ocaml-ulex/Makefile
--- /usr/ports/devel/ocaml-ulex/Makefile	Sat May 21 21:57:06 2005
+++ ocaml-ulex/Makefile	Tue Jun  7 14:19:25 2005
@@ -7,7 +7,7 @@
 #
 
 PORTNAME=	ulex
-PORTVERSION=	0.5
+PORTVERSION=	0.7
 CATEGORIES=	devel
 MASTER_SITES=	http://www.cduce.org/download/
 PKGNAMEPREFIX=	ocaml-
@@ -22,6 +22,8 @@
 
 USE_GMAKE=	yes
 ALL_TARGET=	all all.opt
+
+MAKE_ENV=	OCAMLFIND_DESTDIR="${PREFIX}/lib/ocaml/site-lib"
 
 .if !defined(NOPORTDOCS)
 ALL_TARGET+=	doc
diff -ruN /usr/ports/devel/ocaml-ulex/distinfo ocaml-ulex/distinfo
--- /usr/ports/devel/ocaml-ulex/distinfo	Sun Aug  8 19:05:49 2004
+++ ocaml-ulex/distinfo	Tue Jun  7 14:17:58 2005
@@ -1,2 +1,2 @@
-MD5 (ulex-0.5.tar.gz) = 6aa3ca0d73f9400ec6811a19fca414eb
-SIZE (ulex-0.5.tar.gz) = 25621
+MD5 (ulex-0.7.tar.gz) = cb70dcb25b1f8119abde0bf2b29c1492
+SIZE (ulex-0.7.tar.gz) = 17444
--- new-ocaml-ulex-port ends here ---



>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: thierry 
State-Changed-When: Tue Jun 7 21:22:33 GMT 2005 
State-Changed-Why:  

Sorry, it does not build on my test machine: 

===>  Extracting for ocaml-ulex-0.5 
=> Checksum OK for ulex-0.5.tar.gz. 
===>  Patching for ocaml-ulex-0.5 
===>  Applying FreeBSD patches for ocaml-ulex-0.5 
===>   ocaml-ulex-0.5 depends on executable: ocamlc - found 
===>   ocaml-ulex-0.5 depends on executable: ocamlfind - found 
===>   ocaml-ulex-0.5 depends on executable: gmake - found 
===>  Configuring for ocaml-ulex-0.5 
===>  Building for ocaml-ulex-0.5 
ocamlc -a -o ulexing.cma utf8.mli utf8.ml ulexing.mli ulexing.ml 
ocamlc -a -o pa_ulex.cma -pp 'camlp4o pa_extend.cmo q_MLast.cmo' -I +camlp4 cset.ml ulex.mli ulex.ml pa_ulex.ml 
Error while loading "pa_extend.cmo": native-code program cannot do a dynamic load. 
Preprocessor error 
gmake: *** [pa_ulex.cma] Erreur 2 
*** Error code 2 



Responsible-Changed-From-To: freebsd-ports-bugs->thierry 
Responsible-Changed-By: thierry 
Responsible-Changed-When: Tue Jun 7 21:22:33 GMT 2005 
Responsible-Changed-Why:  

Take it. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=81991 
State-Changed-From-To: feedback->closed 
State-Changed-By: thierry 
State-Changed-When: Wed Jun 8 21:21:10 GMT 2005 
State-Changed-Why:  

Committed, thanks! 

Note: USE_GMAKE removed. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=81991 
>Unformatted:
