git: 16a7714d8881 - main - Uses/electronfix.mk: Use absolute path to Makefile.version
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 27 Sep 2024 19:42:37 UTC
The branch main has been updated by arrowd:
URL: https://cgit.FreeBSD.org/ports/commit/?id=16a7714d88815eb38a7876af5827af44dfc41e4a
commit 16a7714d88815eb38a7876af5827af44dfc41e4a
Author: Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2024-09-27 19:41:49 +0000
Commit: Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2024-09-27 19:42:33 +0000
Uses/electronfix.mk: Use absolute path to Makefile.version
Suggested by: fluffy
---
Mk/Uses/electronfix.mk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Mk/Uses/electronfix.mk b/Mk/Uses/electronfix.mk
index f5e33da516cb..3b5a7c92d9b4 100644
--- a/Mk/Uses/electronfix.mk
+++ b/Mk/Uses/electronfix.mk
@@ -21,7 +21,7 @@ _INCLUDE_USES_ELECTRONFIX_MK= yes
. error USES=electronfix requires a version argument
. endif
-_ELECTRON_MAKEFILE_VERSION= ${.CURDIR}/../../devel/electron${electronfix_ARGS}/Makefile.version
+_ELECTRON_MAKEFILE_VERSION= ${PORTSDIR}/devel/electron${electronfix_ARGS}/Makefile.version
. if !exists(${_ELECTRON_MAKEFILE_VERSION})
. error Unknown Electron version in USES=electronfix:${electronfix_ARGS}