git: a9d50d182936 - main - lang/go{120,121,122,123,-devel}: Stop install Linux test binaries

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Thu, 06 Mar 2025 13:53:03 UTC
The branch main has been updated by arrowd:

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

commit a9d50d18293658481ab9badf19ddc0dda84628b0
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2025-03-04 06:53:36 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2025-03-06 13:52:57 +0000

    lang/go{120,121,122,123,-devel}: Stop install Linux test binaries
    
    With pkg's improved shared library tracking these [useless anyways] files
    started to confuse Poudriere.
    
    Reported by:    bdrewery
    Approved by:    adamw
    PR:             285151
---
 lang/go-devel/Makefile | 3 ++-
 lang/go120/Makefile    | 2 +-
 lang/go121/Makefile    | 2 +-
 lang/go122/Makefile    | 2 +-
 lang/go123/Makefile    | 1 +
 5 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile
index b00660b0e3cd..fc1755867192 100644
--- a/lang/go-devel/Makefile
+++ b/lang/go-devel/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	go
 DISTVERSION?=	g20240208
-PORTREVISION?=	0
+PORTREVISION?=	1
 CATEGORIES=	lang
 MASTER_SITES?=	https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
@@ -116,6 +116,7 @@ do-install:
 		pkg/obj pkg/bootstrap pkg/${OPSYS:tl}_${GOARCH_${ARCH}}/cmd
 	@${MKDIR} ${STAGEDIR}${PREFIX}/go${GO_SUFFIX}
 	@${CP} -a ${WRKSRC}/* ${STAGEDIR}${PREFIX}/go${GO_SUFFIX}
+	@${RM} -rf ${STAGEDIR}${PREFIX}/go${GO_SUFFIX}/src/debug/elf/testdata
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/go${GO_SUFFIX}/bin/*
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/go${GO_SUFFIX}/pkg/tool/${OPSYS:tl}_${GOARCH_${ARCH}}/*
 .for f in go gofmt
diff --git a/lang/go120/Makefile b/lang/go120/Makefile
index ef3463b6e254..51e0c4c4a855 100644
--- a/lang/go120/Makefile
+++ b/lang/go120/Makefile
@@ -1,6 +1,6 @@
 DISTVERSION=	1.20.14
 # Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel
-PORTREVISION=	1
+PORTREVISION=	2
 MASTER_SITES=	https://golang.org/dl/ \
 		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
diff --git a/lang/go121/Makefile b/lang/go121/Makefile
index 25d81ffa49bb..4982e3ed3f94 100644
--- a/lang/go121/Makefile
+++ b/lang/go121/Makefile
@@ -1,6 +1,6 @@
 DISTVERSION=	1.21.13
 # Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel
-PORTREVISION=	1
+PORTREVISION=	2
 MASTER_SITES=	https://golang.org/dl/ \
 		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
diff --git a/lang/go122/Makefile b/lang/go122/Makefile
index 4dd28feb3f18..86eeb9fe87ed 100644
--- a/lang/go122/Makefile
+++ b/lang/go122/Makefile
@@ -1,6 +1,6 @@
 DISTVERSION=	1.22.12
 # Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel
-PORTREVISION=	0
+PORTREVISION=	1
 MASTER_SITES=	https://golang.org/dl/ \
 		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap
diff --git a/lang/go123/Makefile b/lang/go123/Makefile
index 5b8f6ef72270..69bbaa69d3c1 100644
--- a/lang/go123/Makefile
+++ b/lang/go123/Makefile
@@ -1,5 +1,6 @@
 DISTVERSION=	1.23.7
 # Always set PORTREVISION explicitly as otherwise they are inherited from lang/go-devel
+PORTREVISION=	1
 MASTER_SITES=	https://golang.org/dl/ \
 		https://github.com/dmgk/go-bootstrap/releases/download/${BOOTSTRAP_TAG}/:bootstrap \
 		LOCAL/dmgk:bootstrap