Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 16 Jul 2006 15:01:07 +0100
From:      James O'Gorman <james@netinertia.co.uk>
To:        mal content <artifact.one@googlemail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: pkg_* [was: Problems creating port, pkg_info?]
Message-ID:  <44BA46A3.2020205@netinertia.co.uk>
In-Reply-To: <8e96a0b90607160621p7a75a63esdff83f98a5652764@mail.gmail.com>
References:  <8e96a0b90607160621p7a75a63esdff83f98a5652764@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
mal content wrote:
> What, in the environment, could possibly cause the ports
> system to suddenly start believing that the pkg tools (pkg_info,
> pkg_version etc) reside in /usr/local/sbin, as opposed to the
> standard /usr/sbin?
> 
> Nothing in my environment, or PATH has changed so why did
> it work perfectly for 18 months and then suddenly break?
> 
> Anyway, I need to get this machine up and working properly,
> so I'm giving serious consideration to just deleting /usr/local,
> /usr/ports and the stuff in /var and starting from a blank
> canvas.

What have you got in /etc/make.conf? bsd.port.mk is what sets the
make(1) macros for pkg_create, etc. (See /usr/ports/Mk/bsd.port.mk lines
2150-2165). Also, when did you last update your ports tree?

James



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