Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Sep 2000 15:54:17 -0700
From:      "paradive" <james@enfect.com>
To:        "Siegbert Baude" <siegbert.baude@gmx.de>, <freebsd-questions@freebsd.org>
Subject:   Re: Installing CD packages to HD?
Message-ID:  <044c01c01855$67817cc0$02fea8c0@localdomain>
References:  <14773.33577.842372.439782@guru.mired.org> <39B61430.1F2F60BD@gmx.de> <031501c0184f$0747c180$02fea8c0@localdomain> <39B6C9AC.56464D1C@gmx.de>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message -----
From: Siegbert Baude <siegbert.baude@gmx.de>
To: paradive <james@enfect.com>; <freebsd-questions@freebsd.org>
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?044c01c01855$67817cc0$02fea8c0>