Subject: Re: Re: CVS commit: pkgsrc/audio/nas
To: None <pkgsrc-changes@netbsd.org>
From: Min Sik Kim <minskim@NetBSD.org>
List: pkgsrc-changes
Date: 07/09/2006 11:45:26
On 7/9/06, joerg@britannica.bec.de <joerg@britannica.bec.de> wrote:
> On Sat, Jul 08, 2006 at 12:30:26AM +0000, Min Sik Kim wrote:
> >
> > Module Name:  pkgsrc
> > Committed By: minskim
> > Date:         Sat Jul  8 00:30:26 UTC 2006
> >
> > Modified Files:
> >       pkgsrc/audio/nas: Makefile
> >
> > Log Message:
> > If UNPRIVILEGED=yes, replace hardcoded root and wheel with
> > ${UNPRIVILEGED_USER} and ${UNPRIVILEGED_GROUP}, respectively.
>
> How is this supposed to work?
> (a) Half of the files don't even exist in a fresh tree.

They are replaced *after* the files are generated.

SUBST_STAGE.owngrp=post-configure

> (b) Post-modifying imake generated Makefiles is asking for trouble.

It is X11's config/darwin.cf that contains hardcoded "root" and
"wheel".  I would be happy to see a less offending solution.

Regards,
Min