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 illumos/amd64.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/15c1650186b7
branches:  trunk
changeset: 390472:15c1650186b7
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 19 19:23:41 2022 +0000

description:
go-bin: Support illumos/amd64.

diffstat:

 lang/go-bin/Makefile |  27 +++++++++++++++++----------
 lang/go-bin/distinfo |   5 ++++-
 2 files changed, 21 insertions(+), 11 deletions(-)

diffs (111 lines):

diff -r b78f6d293110 -r 15c1650186b7 lang/go-bin/Makefile
--- a/lang/go-bin/Makefile      Mon Dec 19 19:04:47 2022 +0000
+++ b/lang/go-bin/Makefile      Mon Dec 19 19:23:41 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2022/12/13 21:12:10 schmonz Exp $
+# $NetBSD: Makefile,v 1.17 2022/12/19 19:23:41 jperkin Exp $
 
 PKGNAME=       go-bin-1.19.4
 CATEGORIES=    lang
@@ -15,8 +15,7 @@
 USE_TOOLS+=    pax perl:run bash:run
 WRKSRC=                ${WRKDIR}/go
 
-# Binary distributions are not built as PIE.
-MKPIE_SUPPORTED=       no
+.include "../../lang/go/go-vars.mk"
 
 REPLACE_PERL+=                 src/*/*.pl src/*/*/*.pl
 REPLACE_PERL+=                 src/net/http/cgi/testdata/test.cgi
@@ -32,42 +31,42 @@
 
 ONLY_FOR_PLATFORM+=            Darwin-*-x86_64
 DIST.darwin-amd64=             go${PKGVERSION_NOREV}.darwin-amd64.tar.gz
-.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MDarwin-*-x86_64) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.darwin-amd64}
 EXTRACT_ONLY+=                 ${DIST.darwin-amd64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Darwin-*-aarch64
 DIST.darwin-arm64=             go${PKGVERSION_NOREV}.darwin-arm64.tar.gz
-.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MDarwin-*-aarch64) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.darwin-arm64}
 EXTRACT_ONLY+=                 ${DIST.darwin-arm64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-i386
 DIST.linux-386=                        go${PKGVERSION_NOREV}.linux-386.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MLinux-*-i386) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-386}
 EXTRACT_ONLY+=                 ${DIST.linux-386}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-x86_64
 DIST.linux-amd64=              go${PKGVERSION_NOREV}.linux-amd64.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MLinux-*-x86_64) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-amd64}
 EXTRACT_ONLY+=                 ${DIST.linux-amd64}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-*arm*
 DIST.linux-armv6l=             go${PKGVERSION_NOREV}.linux-armv6l.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-*arm*) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MLinux-*-*arm*) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-armv6l}
 EXTRACT_ONLY+=                 ${DIST.linux-armv6l}
 .endif
 
 ONLY_FOR_PLATFORM+=            Linux-*-aarch64
 DIST.linux-arm64=              go${PKGVERSION_NOREV}.linux-arm64.tar.gz
-.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MLinux-*-aarch64) || make(distinfo) || make(mdi)
 DISTFILES+=                    ${DIST.linux-arm64}
 EXTRACT_ONLY+=                 ${DIST.linux-arm64}
 .endif
@@ -75,7 +74,7 @@
 ONLY_FOR_PLATFORM+=            NetBSD-*-aarch64
 DIST.netbsd-arm64=             go1.19.4.netbsd-arm64.tar.gz
 SITES.${DIST.netbsd-arm64}=    https://cdn.NetBSD.org/pub/pkgsrc/misc/tnn/golang-aarch64/
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo)
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-aarch64) || make(distinfo) || make(mdi)
 .  if !make(distinfo)
 PKGNAME=                       go-bin-1.19.4
 .  endif
@@ -83,6 +82,14 @@
 EXTRACT_ONLY+=                 ${DIST.netbsd-arm64}
 .endif
 
+ONLY_FOR_PLATFORM+=            SunOS-*-x86_64
+DIST.illumos-amd64=            go1.19.4.illumos-amd64.tar.gz
+SITES.${DIST.illumos-amd64}=   https://us-central.manta.mnx.io/pkgsrc/public/pkg-bootstraps/
+.if !empty(MACHINE_PLATFORM:MSunOS-*-x86_64) || make(distinfo) || make(mdi)
+DISTFILES+=                    ${DIST.illumos-amd64}
+EXTRACT_ONLY+=                 ${DIST.illumos-amd64}
+.endif
+
 INSTALLATION_DIRS+=    go-bin
 
 do-install:
diff -r b78f6d293110 -r 15c1650186b7 lang/go-bin/distinfo
--- a/lang/go-bin/distinfo      Mon Dec 19 19:04:47 2022 +0000
+++ b/lang/go-bin/distinfo      Mon Dec 19 19:23:41 2022 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2022/12/10 19:58:56 tnn Exp $
+$NetBSD: distinfo,v 1.8 2022/12/19 19:23:41 jperkin Exp $
 
 BLAKE2s (go1.19.4.darwin-amd64.tar.gz) = dd6a9099eea9645a707d21bb872b888d144420323cbeee035c79a05f1a7e7933
 SHA512 (go1.19.4.darwin-amd64.tar.gz) = c71152aaf4734dd438e15fb1318e5d227a88d531f3ca762be89d8111d2387381c77dca347a13790b276ff818c39a0dbff74b24d88dd415727a623229eab9b414
@@ -6,6 +6,9 @@
 BLAKE2s (go1.19.4.darwin-arm64.tar.gz) = fc82c89bad617871c60bd5f56df38447a1184ae4bb597a7eb6ba67c57ad692d9
 SHA512 (go1.19.4.darwin-arm64.tar.gz) = 0ba7e04067b146e3a82461335b2f18e3500860112ecb30f5b6b0c79e7d4700581c1bb2d379411499c43f515373cc16d0f7e19ea2e8727f339b1550b2b4765b31
 Size (go1.19.4.darwin-arm64.tar.gz) = 146436948 bytes
+BLAKE2s (go1.19.4.illumos-amd64.tar.gz) = 03a23d3f51c8d350d27fca63e102eb0543e9f722ceaf970c2addc44cffc3255e
+SHA512 (go1.19.4.illumos-amd64.tar.gz) = ad374aa60de31db8a7478b64a6c8d573e2ec0740301abf35ba8be67906a9592cfc08a0d0e87fcc46ecdcd0b16294f443682aa4634557466e4287620792d16b51
+Size (go1.19.4.illumos-amd64.tar.gz) = 156656196 bytes
 BLAKE2s (go1.19.4.linux-386.tar.gz) = 053f4910541aa3213c6e4f1f56a53f55c1ad42653c68f4b184a19b778b5d377d
 SHA512 (go1.19.4.linux-386.tar.gz) = 49f054e1b94b2526ff0e1b587cb9dfc6fe2eab61c5ec4568d9a9f08c0f9cd729f1e743b1b1ea52f4dbe12cdd12b028992eb4be99f5f1280bf5482eaae493f2ab
 Size (go1.19.4.linux-386.tar.gz) = 120083402 bytes



Home | Main Index | Thread Index | Old Index