=> Bootstrap dependency digest>=20010302: found digest-20080510
WARNING: [bsd.prefs.mk] The package xfce4-battery-plugin-0.5.1nb2 misses DESTDIR support.
===> Skipping vulnerability checks.
WARNING: No /var/db/pkg/pkg-vulnerabilities file found.
WARNING: To fix run: `/usr/sbin/pkg_admin -K /var/db/pkg fetch-pkg-vulnerabilities'.
===> Building for xfce4-battery-plugin-0.5.1nb2
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory `/scratch/sysutils/xfce4-battery-plugin/work/xfce4-battery-plugin-0.5.1'
Making all in panel-plugin
gmake[2]: Entering directory `/scratch/sysutils/xfce4-battery-plugin/work/xfce4-battery-plugin-0.5.1/panel-plugin'
cc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" -DPACKAGE_LOCALE_DIR=\"/usr/pkg/share/locale\"   -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -D_REENTRANT -I/usr/pkg/include/xfce4/ -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -D_REENTRANT -I/usr/pkg/include/xfce4 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -D_REENTRANT -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12    -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT xfce4_battery_plugin-battery.o -MD -MP -MF .deps/xfce4_battery_plugin-battery.Tpo -c -o xfce4_battery_plugin-battery.o `test -f 'battery.c' || echo './'`battery.c
cc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" -DPACKAGE_LOCALE_DIR=\"/usr/pkg/share/locale\"   -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -D_REENTRANT -I/usr/pkg/include/xfce4/ -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -D_REENTRANT -I/usr/pkg/include/xfce4 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -D_REENTRANT -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12    -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT xfce4_battery_plugin-libacpi.o -MD -MP -MF .deps/xfce4_battery_plugin-libacpi.Tpo -c -o xfce4_battery_plugin-libacpi.o `test -f 'libacpi.c' || echo './'`libacpi.c
battery.c:41:28: error: machine/apmvar.h: No such file or directory
mv -f .deps/xfce4_battery_plugin-libacpi.Tpo .deps/xfce4_battery_plugin-libacpi.Po
cc -DHAVE_CONFIG_H -I. -I.. -I.. -DG_LOG_DOMAIN=\"xfce4-battery-plugin\" -DPACKAGE_LOCALE_DIR=\"/usr/pkg/share/locale\"   -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -D_REENTRANT -I/usr/pkg/include/xfce4/ -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -D_REENTRANT -I/usr/pkg/include/xfce4 -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/cairo -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12 -I/usr/pkg/include/atk-1.0   -I/usr/pkg/include/xfce4 -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include   -D_REENTRANT -I/usr/pkg/include/gtk-2.0 -I/usr/pkg/lib/gtk-2.0/include -I/usr/pkg/include/atk-1.0 -I/usr/pkg/include/cairo -I/usr/pkg/include/pango-1.0 -I/usr/pkg/include -I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/lib/glib-2.0/include -I/usr/pkg/include/pixman-1 -I/usr/pkg/include/freetype2 -I/usr/pkg/include/libpng12    -O2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/freetype2 -MT xfce4_battery_plugin-libapm.o -MD -MP -MF .deps/xfce4_battery_plugin-libapm.Tpo -c -o xfce4_battery_plugin-libapm.o `test -f 'libapm.c' || echo './'`libapm.c
mv -f .deps/xfce4_battery_plugin-libapm.Tpo .deps/xfce4_battery_plugin-libapm.Po
sed -e "s,\@libexecdir\@,/usr/pkg/libexec,g" < battmon.desktop.in.in > battmon.desktop.in
LC_ALL=C ../intltool-merge -d -u -c ../po/.intltool-merge-cache ../po battmon.desktop.in battmon.desktop
Generating and caching the translation database
Merging translations into battmon.desktop.
battery.c: In function 'detect_battery_info':
battery.c:213: error: storage size of 'apm' isn't known
battery.c:219: error: 'APM_IOC_GETPOWER' undeclared (first use in this function)
battery.c:219: error: (Each undeclared identifier is reported only once
battery.c:219: error: for each function it appears in.)
battery.c: In function 'update_apm_status':
battery.c:306: error: storage size of 'apm' isn't known
battery.c:312: error: 'APM_IOC_GETPOWER' undeclared (first use in this function)
battery.c:478: error: 'APM_BATT_ABSENT' undeclared (first use in this function)
gmake[2]: *** [xfce4_battery_plugin-battery.o] Error 1
rm battmon.desktop.in
gmake[2]: Leaving directory `/scratch/sysutils/xfce4-battery-plugin/work/xfce4-battery-plugin-0.5.1/panel-plugin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/scratch/sysutils/xfce4-battery-plugin/work/xfce4-battery-plugin-0.5.1'
gmake: *** [all] Error 2
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/sysutils/xfce4-battery-plugin
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/sysutils/xfce4-battery-plugin
