Subject: pkgtools/pkg_install fails under Linux (due to HAVE_STATVFS?)
To: None <tech-pkg@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 12/21/2002 18:06:46
===> Building for pkg_install-20021123
cd lib && bmake
cc -pipe -DHAVE_CONFIG_H -I. -I.  -g -c pen.c -o pen.o
pen.c:277: redefinition of `struct statfs'
pen.c: In function `vfs2fs':
pen.c:367: structure has no member named `val'
pen.c:370: structure has no member named `f_basetype'
*** Error code 1

I was using bootstrap-pkgsrc from a couple months ago. The difference then
was:
-#ifdef HAVE_STATVFS
+#ifndef HAVE_STATVFS

   Jeremy C. Reed
   http://bsd.reedmedia.net/