From owner-freebsd-questions Wed Sep 6 15:59:37 2000 Delivered-To: freebsd-questions@freebsd.org Received: from eve.speakeasy.net (eve.speakeasy.net [216.254.0.17]) by hub.freebsd.org (Postfix) with ESMTP id 4BC6B37B423 for ; Wed, 6 Sep 2000 15:59:35 -0700 (PDT) Received: from paradive (dsl254-006-184-sea1.dsl-isp.net [216.254.6.184]) by eve.speakeasy.net (8.10.0/8.10.0) with SMTP id e86Mvop22163; Wed, 6 Sep 2000 15:57:55 -0700 Message-ID: <044c01c01855$67817cc0$02fea8c0@localdomain> From: "paradive" To: "Siegbert Baude" , References: <14773.33577.842372.439782@guru.mired.org> <39B61430.1F2F60BD@gmx.de> <031501c0184f$0747c180$02fea8c0@localdomain> <39B6C9AC.56464D1C@gmx.de> Subject: Re: Installing CD packages to HD? Date: Wed, 6 Sep 2000 15:54:17 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2615.200 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ----- Original Message ----- From: Siegbert Baude To: paradive ; Sent: Wednesday, September 06, 2000 3:48 PM Subject: Re: Installing CD packages to HD? > Hello paradive; > > > > I believe the 4.0-RELEASE cdrom was equally damaged. Personally, I > > > > *hate* this. Since I build ports with LOCALBASE=/usr/opt, the packages > > > > are useless. Since the distfiles can be used to create the packages, > > > > but not vice versa, this is a loss in functionality. My use of the > > > > things is now restricted to dealing with -questions (as above), and > > > > making copies for friends who otherwise wouldn't look at FreeBSD. > > > > > > Look at the -p (prefix) option of pkg_add. You can change the install > > directory > > > there. > > > > is there a way to do this with "make" using ports as well? > > >From the handbook (rtfm ;-) ): > > Q: Does the ports scheme only work if you have everything in > /usr/ports? My system administrator says I must put everything under > /u/people/guests/wurzburger, but it does not seem to work. > > A: You can use the PORTSDIR and PREFIX variables to tell the ports > mechanism to use different directories. For instance, > # make PORTSDIR=/u/people/guests/wurzburger/ports install > > will compile the port in /u/people/guests/wurzburger/ports and install > everything under /usr/local. > # make PREFIX=/u/people/guests/wurzburger/local install > > will compile it in /usr/ports and install it in > /u/people/guests/wurzburger/local. d'oh! i read that too, just didn't read dfown far enough apparently (thought it was only talking about PORTSDIR). thanks for the heads-up. paradive To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message