Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Nov 2014 12:31:11 +0100
From:      David Demelier <demelier.david@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: is pkgng=no valid?
Message-ID:  <546C7F7F.5040504@gmail.com>
In-Reply-To: <546A531D.4070409@gmail.com>
References:  <546A531D.4070409@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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@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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?546C7F7F.5040504>