pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/go-bin



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Sep 12 12:12:51 UTC 2022

Modified Files:
        pkgsrc/lang/go-bin: Makefile

Log Message:
go-bin: Support DARWIN_CHROOTED for x86_64 too.

Fixes build in an x86_64 chroot on an arm64 host.


To generate a diff of this commit:
cvs rdiff -u -r1.13 -r1.14 pkgsrc/lang/go-bin/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/go-bin/Makefile
diff -u pkgsrc/lang/go-bin/Makefile:1.13 pkgsrc/lang/go-bin/Makefile:1.14
--- pkgsrc/lang/go-bin/Makefile:1.13    Mon Aug 15 10:37:15 2022
+++ pkgsrc/lang/go-bin/Makefile Mon Sep 12 12:12:51 2022
@@ -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 @@ do-install:
 # 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