Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 07:26:22 GMT
From:      Lewis Cook <lcook@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4cf70d53286f - main - editors/micro: Set MAKE_ENV during pre-build phase
Message-ID:  <202306030726.3537QMwA061043@gitrepo.freebsd.org>

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

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

commit 4cf70d53286fa93a6568167b5c734beb3050d332
Author:     Lewis Cook <lcook@FreeBSD.org>
AuthorDate: 2023-06-03 07:18:57 +0000
Commit:     Lewis Cook <lcook@FreeBSD.org>
CommitDate: 2023-06-03 07:26:13 +0000

    editors/micro: Set MAKE_ENV during pre-build phase
    
    `go generate` requires $XDG_CACHE_HOME, otherwise may
    write to /nonexistent in Poudriere causing a build failure.
    
    Reported by:            Steffen Dirkwinkel <freebsd@steffen.cc>
    Differential Revision:  https://reviews.freebsd.org/D37941
---
 editors/micro/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/editors/micro/Makefile b/editors/micro/Makefile
index e7d21d80db5a..91f314d0fde7 100644
--- a/editors/micro/Makefile
+++ b/editors/micro/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	micro
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.11
-PORTREVISION=	9
+PORTREVISION=	10
 CATEGORIES=	editors
 
 MAINTAINER=	lcook@FreeBSD.org
@@ -41,7 +41,7 @@ DEBUG_DESC=	Enable debug logging
 DEBUG_VARS=	_BUILD_DEBUG=ON
 
 pre-build:
-	cd ${GO_WRKSRC} && ${SETENV} ${GO_ENV} ${GO_CMD} generate ./runtime
+	cd ${GO_WRKSRC} && ${SETENV} ${MAKE_ENV} ${GO_ENV} ${GO_CMD} generate ./runtime
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/assets/packaging/micro.1 \



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