Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2024 14:46:57 GMT
From:      Ruslan Makhmatkhanov <rm@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3f085995815e - main - lang/go* ports: do not package back files
Message-ID:  <202408181446.47IEkvWX074599@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by rm:

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

commit 3f085995815e56e2d3bc3be8435cd0f8bd2c6463
Author:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
AuthorDate: 2024-08-18 14:43:54 +0000
Commit:     Ruslan Makhmatkhanov <rm@FreeBSD.org>
CommitDate: 2024-08-18 14:43:54 +0000

    lang/go* ports: do not package back files
    
    All the go ports installing *.bak files left after sed calls in
    ports Makefile. Tweak sed calls to not create them in first place
    and bump PORTREVISION to reflect package change.
    
    PR:             280176
    Approved by:    go (maintainer timeout)
---
 lang/go-devel/Makefile | 2 ++
 lang/go120/Makefile    | 2 +-
 lang/go121/Makefile    | 2 +-
 lang/go122/Makefile    | 1 +
 4 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lang/go-devel/Makefile b/lang/go-devel/Makefile
index 496f3dbab979..b00660b0e3cd 100644
--- a/lang/go-devel/Makefile
+++ b/lang/go-devel/Makefile
@@ -43,6 +43,8 @@ GH_TAGNAME=	20107e05a609b8f2e61a6b5e8dc258237ad046e7
 SHEBANG_FILES?=	misc/wasm/go_js_wasm_exec misc/wasm/go_wasip1_wasm_exec
 SHEBANG_GLOB=	*.bash *.pl *.sh
 
+REINPLACE_ARGS=	-i''
+
 # Upstream archive contains files with UTF-8 names
 EXTRACT_CMD=	${SETENV} LC_ALL=en_US.UTF-8 ${TAR}
 BASH?=		${LOCALBASE}/bin/bash
diff --git a/lang/go120/Makefile b/lang/go120/Makefile
index 8ef862e739c1..ef3463b6e254 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=	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/go121/Makefile b/lang/go121/Makefile
index 22f4e700289b..25d81ffa49bb 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=	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/go122/Makefile b/lang/go122/Makefile
index 7cf9255f834f..c2c922697b4b 100644
--- a/lang/go122/Makefile
+++ b/lang/go122/Makefile
@@ -1,5 +1,6 @@
 DISTVERSION=	1.22.6
 # 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202408181446.47IEkvWX074599>