Date: Thu, 27 Jun 2019 13:11:22 +0000 (UTC) From: Alexey Dokuchaev <danfe@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r505208 - head/lang/ocaml/files Message-ID: <201906271311.x5RDBMC4005725@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: danfe Date: Thu Jun 27 13:11:22 2019 New Revision: 505208 URL: https://svnweb.freebsd.org/changeset/ports/505208 Log: Make sure that correct LDFLAGS are passed when linking shared libraries, otherwise the build would fail on i386 with recent versions of FreeBSD. PR: 218333 Modified: head/lang/ocaml/files/patch-configure Modified: head/lang/ocaml/files/patch-configure ============================================================================== --- head/lang/ocaml/files/patch-configure Thu Jun 27 13:07:41 2019 (r505207) +++ head/lang/ocaml/files/patch-configure Thu Jun 27 13:11:22 2019 (r505208) @@ -1,5 +1,14 @@ --- configure.orig 2017-07-13 08:56:44 UTC +++ configure +@@ -806,7 +806,7 @@ if test $with_sharedlibs = "yes"; then + *-*-linux-gnu|*-*-linux|*-*-freebsd[3-9]*|*-*-freebsd[1-9][0-9]*\ + |*-*-openbsd*|*-*-netbsd*|*-*-dragonfly*|*-*-gnu*|*-*-haiku*) + sharedcccompopts="-fPIC" +- mksharedlib="$bytecc -shared" ++ mksharedlib="$bytecc $bytecclinkopts -shared" + bytecclinkopts="$bytecclinkopts -Wl,-E" + byteccrpath="-Wl,-rpath," + mksharedlibrpath="-Wl,-rpath," @@ -838,6 +838,7 @@ if test $with_sharedlibs = "yes"; then x86_64-*-darwin*) natdynlink=true;; s390x*-*-linux*) natdynlink=true;;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201906271311.x5RDBMC4005725>