pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/go-bin go-bin: Support DARWIN_CHROOTED for x86_64...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/af129b336c49
branches:  trunk
changeset: 385257:af129b336c49
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Sep 12 12:12:51 2022 +0000

description:
go-bin: Support DARWIN_CHROOTED for x86_64 too.

Fixes build in an x86_64 chroot on an arm64 host.

diffstat:

 lang/go-bin/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r d2b60b0f0a9d -r af129b336c49 lang/go-bin/Makefile
--- a/lang/go-bin/Makefile      Mon Sep 12 11:50:43 2022 +0000
+++ b/lang/go-bin/Makefile      Mon Sep 12 12:12:51 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2022/08/15 10:37:15 tnn Exp $
+# $NetBSD: Makefile,v 1.14 2022/09/12 12:12:51 jperkin Exp $
 
 PKGNAME=       go-bin-1.18.5
 CATEGORIES=    lang
@@ -93,9 +93,9 @@
 # running them outside.  We're left with no choice but to make it configurable
 # by the user.
 #
-.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) && defined(DARWIN_CHROOTED)
+.if !empty(MACHINE_PLATFORM:MDarwin-*-*) && defined(DARWIN_CHROOTED)
        for f in ${DESTDIR}${PREFIX}/go-bin/bin/* \
-                ${DESTDIR}${PREFIX}/go-bin/pkg/tool/darwin_arm64/*; do \
+                ${DESTDIR}${PREFIX}/go-bin/pkg/tool/darwin_*/*; do \
                /usr/bin/codesign --remove-signature $$f; \
        done
 .endif



Home | Main Index | Thread Index | Old Index