From nobody Wed Dec 14 11:21:24 2022 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4NXCc45W6Wz4kNT0; Wed, 14 Dec 2022 11:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4NXCc4553bz49n9; Wed, 14 Dec 2022 11:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671016884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TuM8DekR/UAORq10pF9etLjZ8sVssk66PqUsOKaAvzY=; b=ED+q5wwVWFzCtb4fjawFs2ktMeMsjvBEYhZ+yDr7tThgAEyPGZa5IzY00fp6sI73Qq3k4v v+S1wQK7cwjjYvNh2hdImwGADw7g655GUTPkX4QbDHl17BVSb1FD6v4PiRSqkpMfYD5Jbb M0w5zROGjHIqTGlO0Uh6PSrkocVIHrIBY/9t1EucQYHcXTUMZmQiMoI3UEYo55ra4e6DZV gWXLgoXryFLSGvOcJ6ztUWzhnycD9n61lhaHRn77ysS1OAZwC4oYPQ9Se+tQCO//2EnVA8 u580/JKk5YYkri8OUQ1GPgsIT+UTNJxuPDaAinbkht2YCtR4yoAkS2CsTJeiCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1671016884; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=TuM8DekR/UAORq10pF9etLjZ8sVssk66PqUsOKaAvzY=; b=h4Wqz5CxasObN/zqj6SVGiB/QhZ0oUjONRoZVHM003Z6ayptS2qCdL+boRbG1wi5KYPcmw hIQ5GUqkSAvsOcDgbXFHLi58spd9uQQ/obLFAbM89Dx0hbutv31z7fBprw0TrHTjg1YotE nw5ktapaY2MuCihKiTmWMsSGYVCxAGDJAKGSDIp7qmCctx+jyQwvdapgRis9GyQ17L7HMn pXsorat9Qi8GdDdijlWMepeeo4MASZR+ZMlmMmZGvlKTLBIGLOvTo39t78aXPzNls//FOu 1KQaT/xlzHAYhtssgzXZSXUo1LA8Xw+iToREXcrX8anLgPqR+EsFGDb82q7yqQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1671016884; a=rsa-sha256; cv=none; b=n1usl2ExmcHd8T5KQnXtfIxSjYC4h6tnp1aQqDcEGpi4j5ZStnWBccR6D6wKad9umyzRRF be4Q5mw6SBhL8gioRBpnycS77puoBm1+O58jGV3baJeibng4QM/BWHS71uWpScN7irTu6j Tede/crwGqO+qreQY9nQUbuX3tqppdBnzbjp54aoj4Rk1gtyZJqKpcWPdj6h2gl8OdYIVd 5w27FnNTNOmkrJ+TpPn5nTruANM195Su3NvIDcB08Dz/2PD5QFIOiLaOcdA5Q37HegrdPx z4780GDdAdZfYYGOBzay7+XCc4XGM6UdMRUSpsSASvUM8HXugiTx2DcPNzuuow== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4NXCc447qrzsCx; Wed, 14 Dec 2022 11:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2BEBLOXI016532; Wed, 14 Dec 2022 11:21:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2BEBLOgm016531; Wed, 14 Dec 2022 11:21:24 GMT (envelope-from git) Date: Wed, 14 Dec 2022 11:21:24 GMT Message-Id: <202212141121.2BEBLOgm016531@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitri Goutnik Subject: git: 8cf45548259c - main - Mk/Uses/go.mk: Use WRKDIR as GOTMPDIR List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dmgk X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 8cf45548259cbf8d41bfd67ae7a4e0c196829df5 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dmgk: URL: https://cgit.FreeBSD.org/ports/commit/?id=8cf45548259cbf8d41bfd67ae7a4e0c196829df5 commit 8cf45548259cbf8d41bfd67ae7a4e0c196829df5 Author: Boris Lytochkin AuthorDate: 2022-12-14 11:14:05 +0000 Commit: Dmitri Goutnik CommitDate: 2022-12-14 11:20:33 +0000 Mk/Uses/go.mk: Use WRKDIR as GOTMPDIR TMPDIR could be noexec or have low quota, use WRKDIR for Go build artefacts. Reviewed by: dmgk Differential revision: https://reviews.freebsd.org/D37567 --- Mk/Uses/go.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Mk/Uses/go.mk b/Mk/Uses/go.mk index bbbf3b20938e..8bd1a510a94c 100644 --- a/Mk/Uses/go.mk +++ b/Mk/Uses/go.mk @@ -124,7 +124,8 @@ GO_ENV+= CGO_ENABLED=${CGO_ENABLED} \ CGO_CFLAGS="${CGO_CFLAGS}" \ CGO_LDFLAGS="${CGO_LDFLAGS}" \ GOAMD64=${GOAMD64} \ - GOARM=${GOARM} + GOARM=${GOARM} \ + GOTMPDIR="${WRKDIR}" . if ${go_ARGS:Mmodules} GO_BUILDFLAGS+= -mod=vendor