Subject: Re: statfs/statvfs in packages
To: None <tech-pkg@netbsd.org>
From: Christos Zoulas <christos@tac.gw.com>
List: tech-pkg
Date: 04/18/2005 14:40:21
In article <slrnd67ujs.f5n.martijnb@atlas.ipv6.stack.nl>,
Martijn van Buul  <martijnb@atlas.ipv6.stack.nl> wrote:
>Hello,
>
>I'm doing yet another attempt at packaging k3b (a CD/DVD authoring suite
>for KDE), and one of the problems I'm facing is that it's using 
>statfs. Statfs has been deprecated in favour of statvfs at some point - but
>AFAIK it's only available in -current. So, my patch should only be applied when
>running "-current after april 18th 2004". 
>
>How do I go about doing this? 
>

You should detect via autoconf if the system has statfs or statvfs.

christos