Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Feb 2013 10:09:11 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: ports-mgmt/pkg is broken. please fix.
Message-ID:  <20130226180911.GA84963@troutmask.apl.washington.edu>
In-Reply-To: <20130226175046.GF16178@ithaqua.etoilebsd.net>
References:  <20130226173034.GA49007@troutmask.apl.washington.edu> <20130226175046.GF16178@ithaqua.etoilebsd.net>

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



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