pkg-base: how to avoid FreeBSD-$PACKAGE-{profile|development} when using FreeBSD pkg-base

Herbert J. Skuhra herbert at gojira.at
Sat Aug 25 10:13:16 UTC 2018


On Sat, Aug 25, 2018 at 11:30:41AM +0200, O. Hartmann wrote:
> 
> For some experiments on PINE64 we build packages from FreeBSD's base system. The
> individual package seems to comprise always from several flavours, the
> "regular/production" one, profile/profiling one and development, for instance for package
> FreeBSD-libxo:
> 
> FreeBSD-libxo: 12.0.s20180825090036 [FreeBSD-base]
> FreeBSD-libxo-development: 12.0.s20180825090036 [FreeBSD-base]
> FreeBSD-libxo-profile: 12.0.s20180825090036 [FreeBSD-base]
> 
> When installing packages as recommended on the FreeBSD pkg-base Wiki
> (https://wiki.freebsd.org/PkgBase) via
> 
> pkg install -g 'FreeBSD-*'
> 
> it is implicit that I also get those unwanted "profiling" and "development" packages as
> well as the supposed to be the "production" ones. Fiddling around whith the pattern left
> me with some problems, as it seems to me to make the efforts to high to target all wanted
> packages or avoid development packages. I haven't found a proper way to exclude all the
> unwanted packages (development, prifile) by the global pattern.

Have you checked the content of the development packages? I guess you
have to install them! To disable profile-packages set WITHOUT_PROFILE in
/etc/src.conf.

-- 
Herbert


More information about the freebsd-current mailing list