Subject: Re: CVS commit: pkgsrc/mk
To: NetBSD Packages Technical Discussion List <tech-pkg@netbsd.org>
From: OBATA Akio <obata@lins.jp>
List: tech-pkg
Date: 08/15/2007 09:41:15
On Wed, 15 Aug 2007 06:35:19 +0900, Johnny C. Lam <jlam@pkgsrc.org> wrote:

> OBATA Akio wrote:
>> On Fri, 10 Aug 2007 13:00:43 +0900, Johnny C. Lam <jlam@netbsd.org> wrote:
>>
>>> Module Name:	pkgsrc
>>> Committed By:	jlam
>>> Date:		Fri Aug 10 04:00:43 UTC 2007
>>>
>>> Modified Files:
>>> 	pkgsrc/mk/flavor/pkg: install.mk
>>> 	pkgsrc/mk/install: install.mk
>>>
>>> Log Message:
>>> Remove ${WRKDIR}/.pkgdb during "install-clean" as that directory
>>> contains files that are generated during the "install" phase.  This
>>> should fix the problem where PLIST modifications were ignored if the
>>> PLIST was modified between a "make deinstall" and a "make reinstall".
>>>
>>
>> ${WRKDIR}/.pkgdb also contain +INSTALL and +DEINSTALL script.
>> Those files aren't generated during the "install" phase.
>
> [NOTE: moved to tech-pkg@]
>
> Thanks for tracking down the source of this problem.  Could you please
> see if revision 1.26 of pkgsrc/mk/flavor/pkg/metadata.mk fixes this problem?

Yes, it fixes the problem.  Thanks!

XXX: A pkgsrc developer prefers that +INSTALL/+DEINSTALL scripts are also generated
XXX: during the "install" phase...

-- 
"Of course I love NetBSD":-)
OBATA Akio / obata@lins.jp