Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Sep 2004 09:10:48 +0300
From:      Cristi Tauber <cristi.tauber@sbhost.ro>
To:        Vulpes Velox <v.velox@vvelox.net>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: ports vs source
Message-ID:  <1094451048.2179.931.camel@deepblue.rtc.ro>
In-Reply-To: <20040903145456.6cb75097@vixen42.24-119-122-191.cpe.cableone.net>
References:  <1094221571.3917.1448.camel@deepblue.rtc.ro> <20040903145456.6cb75097@vixen42.24-119-122-191.cpe.cableone.net>

next in thread | previous in thread | raw e-mail | index | archive | help
           Ok. thanks ... i got that ... but one problem remains . On
linux the command ./configure --help gives me the options to configure
the source for compile (eg suport for mysql/oracle/etc; other switches
not related to optimization, ... etc) How can i do this with ports ... i
mean ... make -DWITH="/path/to/mysql/" (just an example) to compile the
source with mysql support ... is there a way to find the options for a
port ?!? 

          Cristi

On Fri, 2004-09-03 at 22:54, Vulpes Velox wrote:
> On Fri, 03 Sep 2004 17:26:11 +0300
> Cristi Tauber <cristi.tauber@sbhost.ro> wrote:
> 
> >      Hello there,
> >   Can anyone tell me which are the avantages of installing from
> >   ports
> > rather than installing from tar balls ? I am kind of new to BSD, and
> > I'm familiar with linux install from tar & stuff. I know to give the
> > switches to configure to tune the source for installation ... but
> > how i can find the parameters for port install ? I mean ... let's
> > say i want to install php and i have to give the path to mysql,
> > apache and others graphical libraries ... how can I do that with
> > ports ? 
> 
> The ability to squeze the absolute max out using /etc/make.conf  is
> what I love about ports.
> 
> CPUTYPE?=athlon-xp
> CFLAGS= -O -m3dnow -msse -mmmx  -pipe
> CXXFLAGS+= -fmemoize-lookups -fsave-memoized -m3dnow -msse -mmmx
> 
> or something like that ^_^
> 
> afaik all packages for 4x defualt to i386 and on 5x i486 so there is
> less optimizations... for something there is no noticeable
> differneces... for something there are...  my suggestion is to make
> sure stuff that eats cpu time is optimized... 
> 
> man ports
> man make.conf
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1094451048.2179.931.camel>