Subject: Re: pkg/26603
To: None <sjg@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org>
From: Simon J. Gerraty <sjg@crufty.net>
List: pkgsrc-bugs
Date: 02/13/2005 06:39:01
The following reply was made to PR pkg/26603; it has been noted by GNATS.
From: "Simon J. Gerraty" <sjg@crufty.net>
To: Roland Illig <roland.illig@gmx.de>
Cc: gnats-bugs@netbsd.org
Subject: Re: pkg/26603
Date: Sat, 12 Feb 2005 22:38:28 -0800
On Sun, 13 Feb 2005 05:29:08 +0100, Roland Illig writes:
>> It would probably be helpful to identify the exact problem you see, so
>> that install-mk can be fixed to address it, and then it would probably
>> make sense for install-mk to generate a PLIST (or rather +CONTENTS
>> file) to reflect what it is doing, rather than have the makefile try
>> to emulate it.
>I think the best way to solve the problem would be to integrate the
>PLIST generation into the install-mk script. It could do this for every
>file:
Yes, that's more or less what I had in mind.
>- Check if the target file does exist and then ...
> * cancel installation?
> * just ignore the file?
>- Write the file name to the PLIST
>
>The install-mk script could be called like this:
It should be quite simple to run install-mk -n (just prints what it
wants to do) and munge that into a PLIST.
--sjg