From owner-freebsd-questions Wed Nov 21 13:12:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-203-60.mmcable.com [65.31.203.60]) by hub.freebsd.org (Postfix) with SMTP id 8F99437B41C for ; Wed, 21 Nov 2001 13:12:48 -0800 (PST) Received: (qmail 96952 invoked by uid 100); 21 Nov 2001 21:13:08 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15356.6372.508616.392204@guru.mired.org> Date: Wed, 21 Nov 2001 15:13:08 -0600 To: "Bara Zani" Cc: questions@freebsd.org Subject: Re: /usr/ports question In-Reply-To: <66548662@toto.iv> 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 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. > for example i want bash2 port to install to /bin and not /usr/local/bin > thanks . # cd /usr/ports/shells/bash2 # PREFIX=/ make clean install In the case of bash2, it's best just to copy - or link, if the two are on the same file system - the binary to /bin. http://www.mired.org/home/mwm/ Q: How do you make the gods laugh? A: Tell them your plans. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message