ports-mgmt/pkg is broken. please fix.

Steve Kargl sgk at troutmask.apl.washington.edu
Tue Feb 26 18:09:11 UTC 2013


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


More information about the freebsd-ports mailing list