Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Apr 2003 10:52:20 -0500
From:      Mike Meyer <mwm-dated-1050853941.fdd45a@mired.org>
To:        Paul Hoffman <phoffman@proper.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Getting p5-foo packages to install in the right place
Message-ID:  <16028.10932.908846.661513@guru.mired.org>
In-Reply-To: <p05210619bac0de15a488@[142.131.246.132]>
References:  <p05210619bac0de15a488@[142.131.246.132]>

next in thread | previous in thread | raw e-mail | index | archive | help
In <p05210619bac0de15a488@[142.131.246.132]>, Paul Hoffman <phoffman@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@mired.org>		http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.



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