Date: Sat, 24 Nov 2001 04:50:16 +0100 From: Roman Neuhauser <neuhauser@mobil.cz> To: questions@freebsd.org Subject: Re: /usr/ports question Message-ID: <20011124045016.K26507@roman.mobil.cz> In-Reply-To: <15358.62639.120617.643049@guru.mired.org> References: <122552244@toto.iv> <15358.62639.120617.643049@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Mike Meyer <mwm@mired.org> > Date: Fri, 23 Nov 2001 19:15:27 -0600 > To: Roman Neuhauser <neuhauser@mobil.cz> > CC: questions@freebsd.org > Subject: Re: /usr/ports question > > Roman Neuhauser <neuhauser@mobil.cz> types: > > > From: Mike Meyer <mwm@mired.org> > > > Bara Zani <bara_zani@yahoo.com> types: > > > > Hi , > > > > I want to change the default install options of a certain port , how > > > > can i do that ? > > > If you're talking about location, use PREFIX. That's the top of the > > > tree for installs, so binariexz go in $PREFIX/bin, man pages in > > > $PREFIX/man, and so on. However, changing the PREFIX for just one > > > port isn't very safe - you really should make them *all* install with > > > the same PREFIX, which you do by setting LOCALBASE in > > > /etc/make.conf. Even then, some ports will break for one reason or > > > another because they don't handle the change properly. > > This has always made me wonder: the install prefix of every port is > > recorded in /var/db/pkg/<port-name>/+CONTENTS. Why isn't this > > information used? > > It is used - how do you think pkg_delte finds the files to delete. > > If there's some other use you meant, you should say what it is. > > <mike What I meant was it surprises me (I must be missing something obvious) that the actual install prefixes of dependencies aren't taken from the +CONTENTS files. -- FreeBSD 4.4-STABLE 4:43AM up 31 days, 15:26, 17 users, load averages: 0.15, 0.12, 0.09 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?20011124045016.K26507>