Subject: Re: CVS commit: pkgsrc/mk
To: None <jlam@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: pkgsrc-changes
Date: 05/03/2005 15:27:49
In article <20050502211003.162272DA27@cvs.netbsd.org>,
	"Johnny C. Lam" <jlam@netbsd.org> writes:
> 
> Module Name:	pkgsrc
> Committed By:	jlam
> Date:		Mon May  2 21:10:03 UTC 2005
> 
> Modified Files:
> 	pkgsrc/mk: bsd.pkg.mk bsd.prefs.mk
> 	pkgsrc/mk/platform: Linux.mk
> 	pkgsrc/mk/tools: defaults.mk make.mk replace.mk
> Added Files:
> 	pkgsrc/mk/tools: imake.mk
> 
> Log Message:
> * Push the imake- and xmkmf-handling into the new tools framework.
> 
> * Get rid of an explicit check for ${_IMAKE_MAKE} == ${GMAKE} in
>   bsd.pkg.mk to check for whether we need to depend on gmake or not.
>   Instead, we now note in Linux.mk that packages that need imake will
>   also need to use gmake by setting _IMAKE_TOOLS+=gmake.
> 
> * Push the definition of MAKE_PROGRAM from bsd.pkg.mk into make.mk where
>   it's closer to related code.

How did you test this?


===> Registering installation for knews-1.0nb10
pkg_create: can't stat `/usr/pkg/man/man1/knews.1'
knews-1.0nb10 requires installed package faces-1.6.1nb3
knews-1.0nb10 requires installed package jpeg-6bnb3
knews-1.0nb10 requires installed package png-1.2.8
===> Packaging knews-1.0nb10
===> Building binary package for knews-1.0nb10
Creating package /usr/pkgsrc/packages/3.0_BETA/i386/All/knews-1.0nb10.tgz
Using SrcDir value of /usr/pkg
Registering depends: faces>=1.6.1nb3 jpeg>=6bnb2 png>=1.2.6nb1.
Registering conflicts: knews-1.0b0.
pkg_create: can't stat `/usr/pkg/man/man1/knews.1'
tar: Unable to access man/man1/knews.1 (No such file or directory)
tar: WARNING! These file names were not selected:
man/man1/knews.1


Simply changing the PLIST to "man/cat1/knews.0" doesn't work, by the way,
as there's some bizarre re-writing being done.

Same with "graphics/xli". I don't know exactly where the bug is, but this
looks like the likely suspect. Rolling back "pkgsrc/mk" to "-D2005-05-02"
makes it work again.

# uname -a
NetBSD rapture.immanent.net 3.0_BETA NetBSD 3.0_BETA (RAPTURE) #0: Sat Apr 30 14:48:12 CDT 2005  fredb@rapture.immanent.net:/usr/obj/obj/usr/src/sys/arch/i386/compile/RAPTURE i386


-- 
Frederick