From owner-freebsd-ports@FreeBSD.ORG Wed Oct 17 13:18:50 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8CB557CD; Wed, 17 Oct 2012 13:18:50 +0000 (UTC) (envelope-from jtrigg@spamcop.net) Received: from argent.heraldsnet.net (argent.heraldsnet.net [69.60.117.17]) by mx1.freebsd.org (Postfix) with ESMTP id 620BE8FC16; Wed, 17 Oct 2012 13:18:50 +0000 (UTC) Received: by argent.heraldsnet.net (Postfix, from userid 11001) id 805285C33; Wed, 17 Oct 2012 09:18:49 -0400 (EDT) Date: Wed, 17 Oct 2012 09:18:49 -0400 From: Jim Trigg To: Bryan Drewery Subject: Re: Portmaster/Portupgrade | pkg2ng Message-ID: <20121017131849.GI75370@spamcop.net> References: <507DCD7E.3080108@webrz.net> <507DF31F.4030706@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <507DF31F.4030706@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Jos Chrispijn , freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Oct 2012 13:18:50 -0000 On Tue, Oct 16, 2012 at 06:51:59PM -0500, Bryan Drewery wrote: > On 10/16/2012 4:11 PM, Jos Chrispijn wrote: > > Somewhat lost here; just read UPDATING in which is reported about an > > additional function support of pkgng by portupgrade and portmaster: > > > > PORTMASTER > > # make -C /usr/ports/ports-mgmt/portmaster config build deinstall > > install clean > > # echo 'WITH_PKGNG=yes' >> /etc/make.conf > > # pkg2ng* > > > > PORTUPGRADE > > # echo 'WITH_PKGNG=yes' >> /etc/make.conf > > # pkg2ng* > > # pkgdb -fu > > > > The only issue I have is that this pkg2ng command doesn't work as this > > program* cannot be found so the command returns with a 'pkg2ng: Command > > not found.' > > Can someone tell me what I miss here? > > make -C /usr/ports/ports-mgmt/pkg install clean > > Sorry for the confusion. I will add that in. I think what's needed for portmaster is an explicit mention that the PKGNGPATCH option needs to be selected. That will cause pkg to be installed automatically, and installing it manually just increases the risk that portmaster won't have been built correctly to support it. Jim