Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Apr 2024 21:39:03 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ece6a671e988 - main - devel/ocaml-opam: fix build on powerpc*
Message-ID:  <202404112139.43BLd38D079503@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ece6a671e988f0c5f68c5c8f4c9eb56acae5bca8

commit ece6a671e988f0c5f68c5c8f4c9eb56acae5bca8
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-04-10 12:20:04 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-04-11 21:38:34 +0000

    devel/ocaml-opam: fix build on powerpc*
---
 ...-patches_0001-Fix-relocation-ocaml-32-bit.patch | 23 +++++++++++++++++++++-
 1 file changed, 22 insertions(+), 1 deletion(-)

diff --git a/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch b/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch
index e091694ffe0c..d80febb53acc 100644
--- a/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch
+++ b/devel/ocaml-opam/files/patch-src__ext_ocaml-patches_0001-Fix-relocation-ocaml-32-bit.patch
@@ -1,6 +1,6 @@
 --- src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch.orig	2023-05-27 13:17:37 UTC
 +++ src_ext/ocaml-patches/0001-Fix-relocation-ocaml-32-bit.patch
-@@ -0,0 +1,22 @@
+@@ -0,0 +1,43 @@
 +--- a/configure.orig	2023-05-27 13:13:22 UTC
 ++++ a/configure
 +@@ -14070,6 +14070,10 @@
@@ -14,6 +14,27 @@
 +   *) :
 +     mksharedlib="$CC -shared \$(LDFLAGS)" ;;
 + esac
++@@ -14256,12 +14260,20 @@ case $host in #(
++     arch=amd64; system=win64 ;; #(
++   powerpc64le*-*-linux*) :
++     arch=power; model=ppc64le; system=elf ;; #(
+++  powerpc64le*-*-freebsd*) :
+++    arch=power; model=ppc64le; system=bsd_elf ;; #(
++   powerpc*-*-linux*) :
++     arch=power; if $arch64; then :
++   model=ppc64
++ else
++   model=ppc
++ fi; system=elf ;; #(
+++  powerpc*-*-freebsd*) :
+++    arch=power; if $arch64; then :
+++  model=ppc64
+++else
+++  model=ppc
+++fi; system=bsd_elf ;; #(
++   s390x*-*-linux*) :
++     arch=s390x; model=z10; system=elf ;; #(
++   # expected to match "gnueabihf" as well as "musleabihf"
 +@@ -14281,6 +14285,8 @@
 +     arch=arm; model=armv6; system=linux_eabi ;; #(
 +   armv6*-*-freebsd*) :



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