Re: git: b47b76304cce - main - editors/mg: Update to OpenBSD 7.4 version; modify location of source tarball
Date: Fri, 27 Oct 2023 12:08:07 UTC
Robert Clausecker <fuz@FreeBSD.org> writes: > STAGEOWN= ${USER} > +# replace with STAGEGRP=${.MAKE.GID} once FreeBSD 12 is EOL > STAGEGRP!= id -gn > MAKE_ARGS+= BINOWN=${STAGEOWN} BINGRP=${STAGEGRP} MANOWN=${STAGEOWN} \ Looks like a hand-rolled USES=uidfix. Try the following: diff --git a/editors/mg/Makefile b/editors/mg/Makefile index 6db8a3b90a71..1f36ffd5e3a9 100644 --- a/editors/mg/Makefile +++ b/editors/mg/Makefile @@ -10,12 +10,8 @@ WWW= https://man.openbsd.org/mg LICENSE= PD -USES= ncurses -STAGEOWN= ${USER} -# replace with STAGEGRP=${.MAKE.GID} once FreeBSD 12 is EOL -STAGEGRP!= id -gn -MAKE_ARGS+= BINOWN=${STAGEOWN} BINGRP=${STAGEGRP} MANOWN=${STAGEOWN} \ - MANGRP=${STAGEGRP} BINDIR=${PREFIX}/bin \ +USES= ncurses uidfix +MAKE_ARGS+= BINDIR=${PREFIX}/bin \ MANDIR=${PREFIX}/man/man NCURSESLIB=${NCURSESLIB} \ NCURSESINC=${NCURSESINC} FLAVORS= dynamic static