Add a CPP #define when compiling for static linkage. Bail out early from the function calling dlopen() conditionally on that.
* 'pkg stats' displays various stats info from the package database(s)
This can be useful for local mirroring, custom repositories, or non-FreeBSD usage of pkgng.
"Makefile", line 36: warning: "grep -q gr_copy /usr/include/libutil.h && echo yes" returned non-zero status
This fixes pkg-static or git version trying to upgrade to remove port version.
It now know how to parse a plist
Initially, this modifies pkg register to allow automatically detecting and marking as architecture independent packages that do not install any ELF object files. This should be correct in the vast majority of cases, if not all. Any cases where this isn't sufficient probably aren't going to be dectable heuristically and packagers should probably set an arch for the pkg explicitly. Add ARCH_INDEP: yes to pkg.conf to enable this processing: defaults to no change from existing behaviour. Sets the arch field in the packages table of local.sqlite to (eg.) freebsd:9:arch-indep for such packages. Conflicts: libpkg/pkg.h
if the plist fails in stage mode then it return an error instead of a warning.
This fixes constraint errors when running pkg-repo after removing files.