From owner-freebsd-questions Fri Nov 23 19:44:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mobil.cz (diana.mobil.cz [195.39.16.12]) by hub.freebsd.org (Postfix) with ESMTP id B211637B416 for ; Fri, 23 Nov 2001 19:44:19 -0800 (PST) Received: from ester.mobil.cz (ester.mobil.cz [194.213.62.23]) by mobil.cz (8.11.6/8.11.0) with ESMTP id fAO3iHp04562 for ; Sat, 24 Nov 2001 04:44:18 +0100 Received: from roman.mobil.cz ([10.2.0.89]) by ester.mobil.cz (Lotus Domino Release 5.0.7) with ESMTP id 2001112404395752:1954 ; Sat, 24 Nov 2001 04:39:57 +0100 Received: (from roman@localhost) by roman.mobil.cz (8.11.6/8.11.6) id fAO3oHY50058 for questions@freebsd.org; Sat, 24 Nov 2001 04:50:17 +0100 (CET) (envelope-from neuhauser@mobil.cz) X-Authentication-Warning: roman.mobil.cz: roman set sender to neuhauser@mobil.cz using -f Date: Sat, 24 Nov 2001 04:50:16 +0100 From: Roman Neuhauser To: questions@freebsd.org Subject: Re: /usr/ports question Message-ID: <20011124045016.K26507@roman.mobil.cz> Mail-Followup-To: questions@freebsd.org References: <122552244@toto.iv> <15358.62639.120617.643049@guru.mired.org> Mime-Version: 1.0 In-Reply-To: <15358.62639.120617.643049@guru.mired.org> User-Agent: Mutt/1.3.23i X-MIMETrack: Itemize by SMTP Server on ester/Mobil(Release 5.0.7 |March 21, 2001) at 11/24/2001 04:39:57 AM, Serialize by Router on ester/Mobil(Release 5.0.7 |March 21, 2001) at 11/24/2001 04:40:03 AM, Serialize complete at 11/24/2001 04:40:03 AM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 > From: Mike Meyer > Date: Fri, 23 Nov 2001 19:15:27 -0600 > To: Roman Neuhauser > CC: questions@freebsd.org > Subject: Re: /usr/ports question > > Roman Neuhauser types: > > > From: Mike Meyer > > > Bara Zani 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//+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. > >