1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-08 12:01:56 +00:00

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
This commit is contained in:
Christian Weisgerber 2024-01-11 18:54:40 +01:00
parent cc030fea41
commit aa046dffbc

View File

@ -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' \