git: aa046dffbc05 - main - news/inn: use built-in make variable instead of external command
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 15 Jan 2024 16:44:24 UTC
The branch main has been updated by naddy:
URL: https://cgit.FreeBSD.org/ports/commit/?id=aa046dffbc05f3385c322db8b680e6cc80f13cc1
commit aa046dffbc05f3385c322db8b680e6cc80f13cc1
Author: Christian Weisgerber <naddy@FreeBSD.org>
AuthorDate: 2024-01-11 17:54:40 +0000
Commit: Christian Weisgerber <naddy@FreeBSD.org>
CommitDate: 2024-01-15 16:44:18 +0000
news/inn: use built-in make variable instead of external command
Since FreeBSD 12 has been EOLed, the built-in make(1) variables
.MAKE.UID and .MAKE.GID are always available.
Approved by: maintainer
---
news/inn/Makefile | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/news/inn/Makefile b/news/inn/Makefile
index d4b2589d1d63..128566b8d4f0 100644
--- a/news/inn/Makefile
+++ b/news/inn/Makefile
@@ -191,9 +191,7 @@ PLIST_SUB+= ETCFILES="${CONFIG_FILES}"
.include <bsd.port.pre.mk>
-.if !defined(GID)
-GID!= id -g
-.endif
+GID?= ${.MAKE.GID}
post-patch:
@${REINPLACE_CMD} -E 's!\$$[{(]PATHETC[})]!${EXAMPLESDIR}!g' \