From owner-freebsd-questions Fri Jun 1 11:10:55 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id 5D48E37B422 for ; Fri, 1 Jun 2001 11:10:52 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 50721 invoked by uid 100); 1 Jun 2001 18:10:51 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15127.55979.470105.992687@guru.mired.org> Date: Fri, 1 Jun 2001 13:10:51 -0500 To: Cynic Cc: freebsd-questions@freebsd.org Subject: Re: install locations of packages In-Reply-To: <5.1.0.14.2.20010601124149.00b51160@mail.cz> References: <85117693@toto.iv> <5.1.0.14.2.20010601124149.00b51160@mail.cz> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Cynic types: > At 18:25 31.5. 2001 -0500, Mike Meyer wrote: > >Cynic 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? Right. Even if a port is PREFIX-clean, it can still do that. Expecting port maintainers to rewrite every port to make that dynamic is a bit much. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message