Getting p5-foo packages to install in the right place

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

In <p05210619bac0de15a488@[]>, Paul Hoffman <phoffman at> 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

Mike Meyer <mwm at>
Independent Network/Unix/Perforce consultant, email for more information.

More information about the freebsd-questions mailing list