Skip site navigation (1)Skip section navigation (2)
Date:      Sun,  3 Apr 2011 22:21:41 +0200 (CEST)
From:      Johan van Selst <johans@stack.nl>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        stas@FreeBSD.org
Subject:   ports/156159: [patch] Re-enable native dynlink support in lang/ocaml
Message-ID:  <20110403202141.76C3B3604F62@mailhost.gletsjer.net>
Resent-Message-ID: <201104032030.p33KUFts097986@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         156159
>Category:       ports
>Synopsis:       [patch] Re-enable native dynlink support in lang/ocaml
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 03 20:30:14 UTC 2011
>Closed-Date:
>Last-Modified:
>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:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110403202141.76C3B3604F62>