From nobody@FreeBSD.org  Tue Mar  1 13:42:52 2011
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 55C791065670
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Mar 2011 13:42:52 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22])
	by mx1.freebsd.org (Postfix) with ESMTP id 44C508FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  1 Mar 2011 13:42:52 +0000 (UTC)
Received: from red.freebsd.org (localhost [127.0.0.1])
	by red.freebsd.org (8.14.4/8.14.4) with ESMTP id p21Dgprj092657
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 1 Mar 2011 13:42:51 GMT
	(envelope-from nobody@red.freebsd.org)
Received: (from nobody@localhost)
	by red.freebsd.org (8.14.4/8.14.4/Submit) id p21DgpJm092651;
	Tue, 1 Mar 2011 13:42:51 GMT
	(envelope-from nobody)
Message-Id: <201103011342.p21DgpJm092651@red.freebsd.org>
Date: Tue, 1 Mar 2011 13:42:51 GMT
From: Jaap Boender <jaapb@kerguelen.org>
To: freebsd-gnats-submit@FreeBSD.org
Subject: [update] search path update for ocaml-findlib
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         155153
>Category:       ports
>Synopsis:       [update] search path update for devel/ocaml-findlib
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    johans
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 01 13:50:09 UTC 2011
>Closed-Date:    Thu Mar 03 17:59:22 UTC 2011
>Last-Modified:  Thu Mar  3 18:00:31 UTC 2011
>Originator:     Jaap Boender
>Release:        8.2-STABLE
>Organization:
>Environment:
FreeBSD vanrossum.irill.org 8.2-STABLE FreeBSD 8.2-STABLE #0: Fri Feb 25 15:52:06 CET 2011     root@vanrossum.irill.org:/usr/obj/usr/src/sys/VANROSSUM  amd64

>Description:
The search path for ocaml-findlib is set in such a way that it doesn't find some packages installed in /usr/local/lib/ocaml, for example ocaml-lablgtk2. I've added a command to the post-patch target to update the findlib config file.
>How-To-Repeat:
n/a
>Fix:
diff of the port directory included.

Patch attached with submission follows:

diff -Naur ocaml-findlib/Makefile ocaml-findlib-new/Makefile
--- ocaml-findlib/Makefile	2010-09-04 11:48:08.000000000 +0200
+++ ocaml-findlib-new/Makefile	2011-03-01 14:27:47.493180617 +0100
@@ -8,6 +8,7 @@
 
 PORTNAME=	findlib
 PORTVERSION=	1.2.6
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	http://download.camlcity.org/download/
 PKGNAMEPREFIX=	ocaml-
@@ -42,6 +43,9 @@
 		-e 's,(${PATTERN}+.*SITELIB),\1\$${BSD_INSTALL_DATA} \3,' \
 		${WRKSRC}/Makefile ${WRKSRC}/src/findlib/Makefile \
 		${WRKSRC}/src/findlib-toolbox/Makefile
+	${REINPLACE_CMD} \
+		-e 's,path="@SITELIB@",path="@SITELIB@:${PREFIX}/lib/ocaml",' \
+		${WRKSRC}/findlib.conf.in
 
 post-install:
 .if !defined(NOPORTDOCS)


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->johans 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Wed Mar 2 02:27:33 UTC 2011 
Responsible-Changed-Why:  
Fix synopsis and assign. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155153 
State-Changed-From-To: open->closed 
State-Changed-By: johans 
State-Changed-When: Thu Mar 3 17:58:23 UTC 2011 
State-Changed-Why:  
Committed, thanks. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=155153 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/155153: commit references a PR
Date: Thu,  3 Mar 2011 17:59:08 +0000 (UTC)

 johans      2011-03-03 17:58:59 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/ocaml-findlib  Makefile 
   Log:
   Patch the search path for ocaml-findlib to find more packages.
   
   PR:             ports/155153
   Submitted by:   Jaap Boender <jaapb@kerguelen.org>
   
   Revision  Changes    Path
   1.27      +4 -0      ports/devel/ocaml-findlib/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
