is pkgng=no valid?

David Demelier demelier.david at gmail.com
Wed Nov 19 11:31:29 UTC 2014


Le 17/11/2014 20:57, Jungle Boogie a écrit :
> Hello List,
>
> # uname -a
> FreeBSD erl 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r274603: Sun Nov 16 
> 14:45:30 PST 2014 root at buildme:/usr/obj/mips.mips64/usr/src/sys/ERL  mips
>
>  # cat /etc/make.conf
> CPUTYPE?=native
> WITH_PKGNG=no
>
> Is the pkgng "no" valid?
>
> As you can see, this is mips so pkg won't work but when I try:
>
> root at erl:/usr/ports/sysutils/tmux # make config-recursive install clean
> ===> Setting user-specified options for tmux-1.9.a_2 and dependencies
> ===> Building/installing dialog4ports as it is required for the config 
> dialog
> ===>  Cleaning for dialog4ports-0.1.5_2
> ===>  License BSD2CLAUSE accepted by the user
> ===>   dialog4ports-0.1.5_2 depends on file: /usr/local/sbin/pkg - not 
> found
> ===>    Verifying install for /usr/local/sbin/pkg in 
> /usr/ports/ports-mgmt/pkg
> ===>  License BSD2CLAUSE accepted by the user
> ===> Fetching all distfiles required by pkg-1.3.8_3 for building
> ===>  Extracting for pkg-1.3.8_3
> ===>  License BSD2CLAUSE accepted by the user
> ===> Fetching all distfiles required by pkg-1.3.8_3 for building
> => SHA256 Checksum OK for pkg-1.3.8.tar.xz.
> ===>  Patching for pkg-1.3.8_3
> ===>  Applying FreeBSD patches for pkg-1.3.8_3
> ===>  Configuring for pkg-1.3.8_3
> ===>   FreeBSD 10 autotools fix applied to 
> /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/m4/libtool.m4
> ===>   FreeBSD 10 autotools fix applied to 
> /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/aclocal.m4
> ===>   FreeBSD 10 autotools fix applied to 
> /usr/ports/ports-mgmt/pkg/work/pkg-1.3.8/configure
>
> Can I have ports skip pkg stuff?

I think not because even installing things from ports will register the 
package to pkgng . It was already the same with old pkg_* tools.

This is why you get pkg info foo (and months ago pkg_info foo) after 
installing foo from ports.

HTH,
David.


More information about the freebsd-questions mailing list