From owner-freebsd-questions@FreeBSD.ORG Fri Sep 3 19:55:32 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 40C1516A4CE for ; Fri, 3 Sep 2004 19:55:32 +0000 (GMT) Received: from mail.cableone.net (scanmail3.cableone.net [24.116.0.123]) by mx1.FreeBSD.org (Postfix) with ESMTP id D228743D3F for ; Fri, 3 Sep 2004 19:55:31 +0000 (GMT) (envelope-from v.velox@vvelox.net) Received: from vixen42.24-119-122-191.cpe.cableone.net (unverified [24.119.71.12]) by smail3.cableone.net (SurgeMail 1.9b) with ESMTP id 34518933 for multiple; Fri, 03 Sep 2004 12:38:55 -0700 Date: Fri, 3 Sep 2004 14:54:56 -0500 From: Vulpes Velox To: Cristi Tauber Message-ID: <20040903145456.6cb75097@vixen42.24-119-122-191.cpe.cableone.net> In-Reply-To: <1094221571.3917.1448.camel@deepblue.rtc.ro> References: <1094221571.3917.1448.camel@deepblue.rtc.ro> X-Mailer: Sylpheed-Claws 0.9.12a (GTK+ 1.2.10; i386-portbld-freebsd4.10) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Server: High Performance Mail Server - http://surgemail.com cc: FreeBSD Questions Subject: Re: ports vs source X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Sep 2004 19:55:32 -0000 On Fri, 03 Sep 2004 17:26:11 +0300 Cristi Tauber 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