Date: Fri, 16 Dec 2011 19:16:21 +0700 From: Jan Beich <jbeich@tormail.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/163335: [patch] lang/ocaml: build shlibs on 10.0 Message-ID: <1RbXV6-000GVi-F0@internal.tormail.net> Resent-Message-ID: <201112161310.pBGDA9Zn020236@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1RbXV6-000GVi-F0>