From johans@gletsjer.net  Sun Apr  3 20:21:45 2011
Return-Path: <johans@gletsjer.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 0A933106564A;
	Sun,  3 Apr 2011 20:21:45 +0000 (UTC)
	(envelope-from johans@gletsjer.net)
Received: from mailhost.gletsjer.net (unknown [IPv6:2001:610:1108:5840::])
	by mx1.freebsd.org (Postfix) with ESMTP id C1B6A8FC13;
	Sun,  3 Apr 2011 20:21:44 +0000 (UTC)
Received: from mailhost.gletsjer.net (localhost [127.0.0.1])
	by mailhost.gletsjer.net (Postfix) with ESMTP id 92FA53604F67;
	Sun,  3 Apr 2011 22:21:41 +0200 (CEST)
Received: by mailhost.gletsjer.net (Postfix, from userid 801)
	id 76C3B3604F62; Sun,  3 Apr 2011 22:21:41 +0200 (CEST)
Message-Id: <20110403202141.76C3B3604F62@mailhost.gletsjer.net>
Date: Sun,  3 Apr 2011 22:21:41 +0200 (CEST)
From: Johan van Selst <johans@stack.nl>
Reply-To: Johan van Selst <johans@stack.nl>
To: FreeBSD-gnats-submit@freebsd.org
Cc: stas@FreeBSD.org
Subject: [patch] Re-enable native dynlink support in lang/ocaml
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         156159
>Category:       ports
>Synopsis:       [patch] Re-enable native dynlink support in lang/ocaml
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    stas
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 03 20:30:14 UTC 2011
>Closed-Date:    Mon Apr 04 02:29:49 UTC 2011
>Last-Modified:  Mon Apr  4 02:30:11 UTC 2011
>Originator:     Johan van Selst
>Release:        FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD gonzales.gletsjer.net 8.2-STABLE FreeBSD 8.2-STABLE #3: Fri Feb 25 00:12:26 CET 2011 root@gonzales.gletsjer.net:/usr/obj/usr/src/sys/gonzales amd64


	
>Description:
	
	In previous versions of ocaml, native dynlink support was enabled.
	This is apparently no longer the case in the latest version,
	which breaks some ocaml ports (such as cduce) and makes others
	needlessly slower.

	There should be no problem enabling this feature on FreeBSD systems;
	although I have only tested this on i386 and amd64 archs.
>How-To-Repeat:
	
>Fix:

	
	Add the following patch for this ocaml

--- configure.orig	2011-04-03 22:14:18.000000000 +0200
+++ configure	2011-04-03 22:14:20.000000000 +0200
@@ -631,6 +631,7 @@
     i686-*-kfreebsd*)             natdynlink=true;;
     x86_64-*-kfreebsd*)           natdynlink=true;;
     i386-*-gnu0.3)                natdynlink=true;;
+    *-*-freebsd*)                 natdynlink=true;;
   esac
 fi
 

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->stas 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Sun Apr 3 20:30:30 UTC 2011 
Responsible-Changed-Why:  
Over to maintainer (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=156159 
State-Changed-From-To: open->closed 
State-Changed-By: stas 
State-Changed-When: Mon Apr 4 02:29:48 UTC 2011 
State-Changed-Why:  
Committed. Thanks! 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/156159: commit references a PR
Date: Mon,  4 Apr 2011 02:29:33 +0000 (UTC)

 stas        2011-04-04 02:29:25 UTC
 
   FreeBSD ports repository
 
   Modified files:
     lang/ocaml           Makefile 
     lang/ocaml/files     patch-configure 
   Log:
   - Re-enable native dynamic linking on FreeBSD.
   - Bump port revision.
   
   PR:             ports/156159
   Submitted by:   Johan van Selst <johans@stack.nl>
   Pointy hat to:  me
   
   Revision  Changes    Path
   1.71      +1 -1      ports/lang/ocaml/Makefile
   1.14      +14 -6     ports/lang/ocaml/files/patch-configure
 _______________________________________________
 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:
