From owner-freebsd-questions@FreeBSD.ORG Mon Sep 6 06:10:46 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 DB2A316A4CE for ; Mon, 6 Sep 2004 06:10:46 +0000 (GMT) Received: from mail.rtc.ro (mail.rtc.ro [212.93.139.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 1C39D43D3F for ; Mon, 6 Sep 2004 06:10:45 +0000 (GMT) (envelope-from cristi.tauber@sbhost.ro) Received: (qmail 8933 invoked from network); 6 Sep 2004 08:57:48 +0300 Received: from unknown (HELO ?212.93.139.11?) (212.93.139.11) by mail.rtc.ro with SMTP; 6 Sep 2004 08:57:48 +0300 From: Cristi Tauber To: Vulpes Velox 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> Content-Type: text/plain Message-Id: <1094451048.2179.931.camel@deepblue.rtc.ro> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Mon, 06 Sep 2004 09:10:48 +0300 Content-Transfer-Encoding: 7bit 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: Mon, 06 Sep 2004 06:10:47 -0000 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 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" >