Just built packages for my 7.2_STABLE system which still has LOCALBASE
set to /usr/local
All the packages (including pkgin) are correctly installed in
/usr/local/bin but pkgin is taking its config from:
/usr/pkg/etc/pkgin/repositories.conf
# strings /usr/local/bin/pkgin | grep '/usr/pkg'
You probably want to modify /usr/pkg/etc/pkgin/repositories.conf.
/usr/pkg/etc/pkgin/repositories.conf has no repositories or does not
exist.
/usr/pkg/etc/pkgin/repositories.conf
/usr/pkg/etc/pkgin/preferred.conf
This is my first build with a new build environment so I could have
screwed something up but everything else in in /usr/local so that
seems unlikely. Am I missing something?
It is easy to work round but it would be nice to fix the inconsistency.
:)
Actually on further digging its much worse. Apache also seems to be
looking for config in /usr/pkg and fontconfig I think is looking for
fontdata there. I've pretty much had to symlink /usr/pkg to /usr/local
to make the packages work and get the system running again.
For reference I used a mk.conf fed into pkgcomp1 containing:
ACCEPTABLE_LICENSES+= xv-license
ACCEPTABLE_LICENSES+= mozilla-trademark-license
ACCEPTABLE_LICENSES+= lame-license
PKG_APACHE_DEFAULT=apache24
DEPENDS_TARGET=package-install
UPDATE_TARGET=package-install
X11_TYPE=native
LOCALBASE=/usr/local
MAKE_JOBS=8
LOCALBASE was respected for executable path but seems to be being
universally ignored for config in /usr/local/etc even though the
manual pages still say that's where it should be.
Mike