Getting p5-foo packages to install in the right place

Mike Meyer mwm-dated-1050853941.fdd45a at mired.org
Tue Apr 15 08:52:24 PDT 2003


In <p05210619bac0de15a488@[142.131.246.132]>, Paul Hoffman <phoffman at proper.com> typed:
> However, when I give the "pkg_add -r p5-foo" command, it install the 
> package (and the the dependencies) in the 5.005 tree, not in the 5.8 
> tree. How can I get pkg_add to install in the correct place?

In general, you probably can't. For each package, you can try
"pkg_info -p <whatever>.tgz" to see what the package base is, but it's
probably /usr/local for all of them. The path names beyond /usr/local
are wired into the package, and can't be changed.

To fix this, you probably have to install from the ports, not the
packages.

	<mike
-- 
Mike Meyer <mwm at mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.


More information about the freebsd-questions mailing list