Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Jun 2001 16:09:51 +0200
From:      Cynic <cynic@mail.cz>
To:        Mike Meyer <mwm@mired.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: install locations of packages
Message-ID:  <5.1.0.14.2.20010601124149.00b51160@mail.cz>
In-Reply-To: <15126.53977.255299.818173@guru.mired.org>
References:  <85117693@toto.iv>

next in thread | previous in thread | raw e-mail | index | archive | help
At 18:25 31.5. 2001 -0500, Mike Meyer wrote:
>Cynic <cynic@mail.cz> types:
> > Now, $ whereis csh revealed that csh is in /bin/ and
> > /usr/share/man/man1/. Since the default prefix for the bash
> > package I'm talking about (but that's just an example) is
> > /usr/local/, I suppose that if I install the package with
> > # pkg_add -p / bash-2.05.tgz, it'll install the man page to
> > /man/man1/, right?
>
>Right. However, it's not guaranteed to work after you do that. To make

This would be the case if the binary had hardwired relative paths,
right?

>sure a package will work where it's installed, you need to build it
>from the ports tree with PREFIX set appropriately. To make sure that
>dependencies between ports work properly, you need to set LOCALBASE
>and leave it set for all port builds.
>
> > My question is really about maintenance of installed packages,
> > not about a specific single one. I'm looking for advice about
> > the simplest way of modifying installed packages (which will
> > preserve the ability to uninstall packages with pkg_delete(1)).
>
>To do that, just fix the @cwd's in +CONTENTS, and move the files to
>the place where they should be. You shouldn't need to do anything
>else. On the other hand, if you've got the package, it's probably
>easier to simply delete and reinstall the package with the -p
>flag. But again, it may not work if you do that.

Good news. Thanks a bunch.




cynic@mail.cz
-------------
And the eyes of them both were opened and they saw that their files
were world readable and writable, so they chmoded 600 their files.
     - Book of Installation chapt 3 sec 7 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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