On Sat, Nov 11, 2006 at 04:44:25PM +0100, Piotr Jedryczek wrote: > On 11/11/06, Antoine Jacoutot <[EMAIL PROTECTED]> wrote: > > >"pkg_add -F installed /usr/ports/packages/amd64/all/libiconv-1.9.2p3.tgz" > >doesn't work? > > > > No. But can I remove entry in /var/db/pkg, remove files from package > manually and then install the package? >
No, it's a thoroughly bad idea. Reading the man page is not enough, you should try to actually understand what is going on. Specifically, you should be able to force it using the right options: pkg_add -F installed -r In any cases, if you changed the configure options, you should also change the package name. This is not hard at all. Just define your own flavor. And you should also check that your package is complete. At least check that update-plist and lib-depends-check are happy with the new package. If you tinker with the installation manually, you will regret it. Having reliable packages and dependencies come at a price. If you tinker with the way packages are built, you should still follow the rules. Otherwise, you're going to break your installation. Now, this is just some piece of advice. Do what you want with it, but don't come whining later if you break everything. ;-)

