From owner-freebsd-ports@FreeBSD.ORG Tue Feb 26 18:09:11 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1A75B49; Tue, 26 Feb 2013 18:09:11 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) by mx1.freebsd.org (Postfix) with ESMTP id 6EA16151D; Tue, 26 Feb 2013 18:09:11 +0000 (UTC) Received: from troutmask.apl.washington.edu (localhost.apl.washington.edu [127.0.0.1]) by troutmask.apl.washington.edu (8.14.6/8.14.6) with ESMTP id r1QI9Bgt092835; Tue, 26 Feb 2013 10:09:11 -0800 (PST) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.14.6/8.14.6/Submit) id r1QI9BFq092834; Tue, 26 Feb 2013 10:09:11 -0800 (PST) (envelope-from sgk) Date: Tue, 26 Feb 2013 10:09:11 -0800 From: Steve Kargl To: Baptiste Daroussin Subject: Re: ports-mgmt/pkg is broken. please fix. Message-ID: <20130226180911.GA84963@troutmask.apl.washington.edu> References: <20130226173034.GA49007@troutmask.apl.washington.edu> <20130226175046.GF16178@ithaqua.etoilebsd.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130226175046.GF16178@ithaqua.etoilebsd.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: 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: Tue, 26 Feb 2013 18:09:11 -0000 On Tue, Feb 26, 2013 at 06:50:46PM +0100, Baptiste Daroussin wrote: > On Tue, Feb 26, 2013 at 09:30:34AM -0800, Steve Kargl wrote: > > ===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.0.8/external/libyaml/aclocal.m4 > > ===> FreeBSD 10 autotools fix applied to /usr/ports/ports-mgmt/pkg/work/pkg-1.0.8/external/libyaml/configure > > ===> Building for pkg-1.0.8 > > "/usr/share/mk/bsd.own.mk", line 423: WITH_PROFILE and WITHOUT_PROFILE can't both be set. > > *** [do-build] Error code 1 > > > > Stop in /usr/ports/ports-mgmt/pkg. > > > > > > No pkgng is not broken but it is using bsd.prog.mk and bsd.lib.mk > meaning it is sensitive to any /etc/make.conf and /etc/src.conf > configuration. I did not say that pkgng was broken. I said ports-mgmt/pkg is broken; as in it does not work when one wants/needs to build pkg. > Can you try adding the following to > ports-mgmt/pkg/Makefile > line 23: > replace > MAKE_ENV+= WITHOUT_PROFILE=yes > by > MAKE_ENV+= WITHOUT_PROFILE=yes __MAKE_CONF=/dev/null SRCCONF=/dev/null > > And tell me if it fixes the problem for you? Yes, this fixes the issue. Thanks for the quick reply and fix. -- Steve