Date: Fri, 23 Nov 2001 12:10:03 +0100 From: Roman Neuhauser <neuhauser@mobil.cz> To: questions@freebsd.org Subject: Re: /usr/ports question Message-ID: <20011123121003.A26507@roman.mobil.cz> In-Reply-To: <15356.6372.508616.392204@guru.mired.org> References: <66548662@toto.iv> <15356.6372.508616.392204@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
> From: Mike Meyer <mwm@mired.org> > Date: Wed, 21 Nov 2001 15:13:08 -0600 > To: "Bara Zani" <bara_zani@yahoo.com> > Cc: questions@freebsd.org > Subject: Re: /usr/ports question > > 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? -- FreeBSD 4.4-STABLE 11:54AM up 30 days, 22:37, 12 users, load averages: 0.24, 0.10, 0.07 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?20011123121003.A26507>