Subject: Re: Re: CVS commit: pkgsrc/audio/nas
To: None <pkgsrc-changes@netbsd.org>
From: None <joerg@britannica.bec.de>
List: pkgsrc-changes
Date: 07/09/2006 21:11:12
On Sun, Jul 09, 2006 at 11:45:26AM -0700, Min Sik Kim wrote:
> 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

Yes, and I don't expect all the *m*akefile patches to work, since imake
is not really supposed to create lower case names.

> 
> >(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.

Writing a generic pkgsrc imake ruleset is on my list.

Joerg