Subject: Re: CVS commit: pkgsrc/mk
To: James Chacon <jmc@netbsd.org>
From: Chris Gilbert <chris@dokein.co.uk>
List: pkgsrc-changes
Date: 09/21/2003 15:46:08
On Sun, 21 Sep 2003 04:19:52 -0500 (CDT)
James Chacon <jmc@netbsd.org> wrote:

> >Cannot open '/NetBSD/pkgsrc/audio/tremor/../mk/autoconf.mk' (from
> >/NetBSD/pkgsrc/audio/tremor/Makefile): No such file or directory
> >Cannot open '/NetBSD/pkgsrc/audio/tremor-tools/../mk/autoconf.mk'
> >(from /NetBSD/pkgsrc/audio/tremor-tools/Makefile): No such file or
> >directory...
> >[ much more of the same ]
> >
> >Any ideas on how to fix this?
> >
> 
> Fix lintpkgsrc from assuming it's always rooted relative ../.. to the
> mk dir (read the code..it's broke)
> 
> To get around on a temporary basis change the .include to
> 
> . include "../mk/..."
> 
> since lintpkgsrc is ignoring any .include's with leading spaces. It at
> least stops the warnings/complaints from getting in the way of real
> ones.

lintpkgsrc?  Never used that one, but pkglint was the tool that spotted
that it wasn't ../../mk but ../mk I guess I trust it move now.

Chris