git: 4cf70d53286f - main - editors/micro: Set MAKE_ENV during pre-build phase
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 07:26:22 UTC
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 \