[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openbsd-misc
Subject:    RE: Ports behaviour?
From:       "Darren Spruell" <Darren_Spruell () sento ! com>
Date:       2001-11-29 22:24:40
[Download RAW message or body]

aaahh.... hold a sec.
I feel like a should really understand this, but I don't.  Would anyone
mind expounding?

QUOTE:

BTW, don't run ports build as root. configure sudo, set SUDO=sudo in
/etc/mk.conf, and run things as joe-normal-user.

Why?  and what happens if this is not done?

--
Darren Spruell
Sento IS Dep't
darren_spruell@sento.com <mailto:darren_spruell@sento.com> 


-----Original Message-----
From: Marc Espie [mailto:espie@schutzenberger.liafa.jussieu.fr]
Sent: Wednesday, November 28, 2001 12:23 PM
To: Greg Thomas
Cc: misc@openbsd.org
Subject: Re: Ports behaviour?


On Wed, Nov 28, 2001 at 06:43:56AM -0800, Greg Thomas wrote:
> On Wed, 28 Nov 2001, Rémi Guyomarch wrote:
> 
> > 
> > Instead of 
> > > # env FLAVOR="gettext imap mhash mcrypt curl postgresql" make
> > > # make install
> > do
> > # env FLAVOR="gettext imap mhash mcrypt curl postgresql" make
> > # env FLAVOR="gettext imap mhash mcrypt curl postgresql" make
install
> 
> Ah, cool.  I didn't know that it created a raw port along with the
> flavored one.

It does not.

But guess what, the ports system uses `make' because it uses makefiles.
Hence, it does handle dependency. So, if you say `make install', it will
infer everywthing it needs. So, what you did with `make install', was
build the raw port, and install it.

BTW, don't run ports build as root. configure sudo, set SUDO=sudo in
/etc/mk.conf, and run things as joe-normal-user.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic