Date: Fri, 27 Oct 2023 14:08:07 +0200 From: Jan Beich <jbeich@FreeBSD.org> To: Robert Clausecker <fuz@FreeBSD.org> Cc: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: Re: git: b47b76304cce - main - editors/mg: Update to OpenBSD 7.4 version; modify location of source tarball Message-ID: <sf5w-s1y0-wny@FreeBSD.org> In-Reply-To: <202310270633.39R6Xx2W089527@gitrepo.freebsd.org> (Robert Clausecker's message of "Fri, 27 Oct 2023 06:33:59 GMT") References: <202310270633.39R6Xx2W089527@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
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
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?sf5w-s1y0-wny>
