From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Dec 16 13:10:09 2011 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6E37D1065675 for ; Fri, 16 Dec 2011 13:10:09 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2E7B68FC20 for ; Fri, 16 Dec 2011 13:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id pBGDA9Dm020237 for ; Fri, 16 Dec 2011 13:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id pBGDA9Zn020236; Fri, 16 Dec 2011 13:10:09 GMT (envelope-from gnats) Resent-Date: Fri, 16 Dec 2011 13:10:09 GMT Resent-Message-Id: <201112161310.pBGDA9Zn020236@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jan Beich Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0CC841065781 for ; Fri, 16 Dec 2011 13:08:36 +0000 (UTC) (envelope-from jbeich@tormail.net) Received: from server2.hudsonvalleyhost.com (server2.hudsonvalleyhost.com [66.7.195.77]) by mx1.freebsd.org (Postfix) with ESMTP id BD6538FC17 for ; Fri, 16 Dec 2011 13:08:35 +0000 (UTC) Received: from exit-01a.noisetor.net ([173.254.216.66]:43054 helo=internal.tormail.net) by server2.hudsonvalleyhost.com with esmtpsa (TLSv1:RC4-SHA:128) (Exim 4.69) (envelope-from ) id 1RbXWa-003KQf-Jv for FreeBSD-gnats-submit@freebsd.org; Fri, 16 Dec 2011 08:08:34 -0500 Received: from jbeich by internal.tormail.net with local (Exim 4.63) (envelope-from ) id 1RbXV6-000GVi-F0 for FreeBSD-gnats-submit@freebsd.org; Fri, 16 Dec 2011 13:07:02 +0000 Message-Id: <1RbXV6-000GVi-F0@internal.tormail.net> Date: Fri, 16 Dec 2011 19:16:21 +0700 From: Jan Beich To: FreeBSD-gnats-submit@FreeBSD.org Cc: Subject: ports/163335: [patch] lang/ocaml: build shlibs on 10.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Dec 2011 13:10:09 -0000 >Number: 163335 >Category: ports >Synopsis: [patch] lang/ocaml: build shlibs on 10.0 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Dec 16 13:10:08 UTC 2011 >Closed-Date: >Last-Modified: >Originator: Jan Beich >Release: FreeBSD 10.0-CURRENT amd64 >Organization: >Environment: >Description: >How-To-Repeat: http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.10.20111207031942/ocaml-3.12.1.log >Fix: --- shlibs.diff begins here --- Index: lang/ocaml/files/patch-configure =================================================================== RCS file: /a/.csup/ports/lang/ocaml/files/patch-configure,v retrieving revision 1.14 diff -u -p -r1.14 patch-configure --- lang/ocaml/files/patch-configure 4 Apr 2011 02:29:25 -0000 1.14 +++ lang/ocaml/files/patch-configure 16 Dec 2011 12:13:16 -0000 @@ -9,6 +9,15 @@ -x11include*|--x11include*) x11_include_dir=$2; shift;; -x11lib*|--x11lib*) +@@ -521,7 +523,7 @@ if test $withsharedlibs = "yes"; then + mksharedlib="$flexlink" + mkmaindll="$flexlink -maindll" + shared_libraries_supported=true;; +- *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*) ++ *-*-linux-gnu|*-*-linux|*-*-freebsd*|*-*-openbsd*|*-*-netbsd*|*-*-gnu*) + sharedcccompopts="-fPIC" + mksharedlib="$bytecc -shared" + bytecclinkopts="$bytecclinkopts -Wl,-E" @@ -629,6 +631,7 @@ i686-*-kfreebsd*) natdynlink=true;; x86_64-*-kfreebsd*) natdynlink=true;; --- shlibs.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: