<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/4c6caac030a1c20b51e2a7ba1fd442025237f3df">https://github.com/macports/macports-ports/commit/4c6caac030a1c20b51e2a7ba1fd442025237f3df</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 4c6caac030a dep: allow dep to build for Darwin arm64
</span>4c6caac030a is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 4c6caac030a1c20b51e2a7ba1fd442025237f3df
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Sat Jun 5 22:15:51 2021 -0400
<span style='display:block; white-space:pre;color:#404040;'> dep: allow dep to build for Darwin arm64
</span>---
devel/dep/Portfile | 4 ++++
devel/dep/files/patch-allow-arm64.build.bash.diff | 11 +++++++++++
2 files changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/dep/Portfile b/devel/dep/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f8852d89580..066a15b8047 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/dep/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/dep/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,8 @@ PortSystem 1.0
</span> PortGroup golang 1.0
go.setup github.com/golang/dep 0.5.4 v
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories devel
license BSD
maintainers nomaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +23,8 @@ build.env-append DEP_BUILD_ARCHS=${goarch} \
</span> DEP_BUILD_PLATFORMS=${goos}
build.cmd ./hack/build-all.bash
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-allow-arm64.build.bash.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
xinstall -d ${destroot}${prefix}/bin
xinstall -m 755 ${worksrcpath}/release/${name}-${goos}-${goarch} ${destroot}${prefix}/bin/${name}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/dep/files/patch-allow-arm64.build.bash.diff b/devel/dep/files/patch-allow-arm64.build.bash.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..9ca5e8d555e
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/dep/files/patch-allow-arm64.build.bash.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./hack/build-all.bash 2021-06-05 22:10:20.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./hack/build-all.bash 2021-06-05 22:10:44.000000000 -0400
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -50,7 +50,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CGO_ENABLED=0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if [[ "${ARCH}" == "ppc64" || "${ARCH}" == "ppc64le" || "${ARCH}" == "s390x" || "${ARCH}" == "arm" || "${ARCH}" == "arm64" ]] && [[ "${OS}" != "linux" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if [[ "${ARCH}" == "ppc64" || "${ARCH}" == "ppc64le" || "${ARCH}" == "s390x" || "${ARCH}" == "arm" ]] && [[ "${OS}" != "linux" ]]; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # ppc64, ppc64le, s390x, arm and arm64 are only supported on Linux.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "Building for ${OS}/${ARCH} not supported."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span></pre><pre style='margin:0'>
</pre>