From owner-freebsd-questions@FreeBSD.ORG Tue Feb 15 16:19:09 2005 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 D9BFC16A4CE for ; Tue, 15 Feb 2005 16:19:09 +0000 (GMT) Received: from alpargata.net (alpargata.net [67.18.172.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 964A743D2D for ; Tue, 15 Feb 2005 16:19:09 +0000 (GMT) (envelope-from nospam@illusionart.com) Received: from [192.168.1.100] (dsl081-061-217.dsl-isp.net [64.81.61.217] (may be forged)) (authenticated bits=0) by alpargata.net (8.13.1/8.13.1) with ESMTP id j1FGi8Wt011336 for ; Tue, 15 Feb 2005 10:44:14 -0600 (CST) (envelope-from nospam@illusionart.com) Mime-Version: 1.0 (Apple Message framework v619) In-Reply-To: <20050214182945.BC64A16A4F0@hub.freebsd.org> References: <20050214182945.BC64A16A4F0@hub.freebsd.org> Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: <4C632B5B-7F6D-11D9-B357-000D93C7878E@illusionart.com> Content-Transfer-Encoding: 7bit From: Vonleigh Simmons Date: Tue, 15 Feb 2005 08:18:59 -0800 To: freebsd-questions@freebsd.org X-Mailer: Apple Mail (2.619) X-Virus-Scanned: ClamAV 0.80/624/Thu Dec 9 13:01:06 2004 clamav-milter version 0.80j on alpargata.net X-Virus-Status: Clean Subject: Re: Ports 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: Tue, 15 Feb 2005 16:19:10 -0000 >> Could you please give some detail about setting options for >> individual ports in make.conf? Maybe I missed something in 'man >> make.conf' or 'man ports' but everything seems to refer to global >> options. The only example I've found is in man portmanager, but I'm >> still a little unsure about the how to do it properly. >> > This example from portmanager's manual is how to do it in make.conf: > > .if ${.CURDIR:M*/local/sysutils/portmanager} > PREFIX=/home/mike/TEMP > .endif > # > .if ${.CURDIR:M*/multimedia/mplayer} > WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION=yes \ > WITH_GTK1=yes WITH_RTC=yes WITH_LIBUNGIF=yes WITH_ARTS=yes \ > WITH_FRIBIDI=yes WITH_CDPARANOIA=yes WITH_LIBDV=yes \ > WITH_MAD=yes WITH_SVGALIB=yes WITH_AALIB=yes WITH_THEORA=yes \ > WITH_SDL=yes WITH_ESOUND=yes WITH_VORBIS=yes WITH_XANIM=yes \ > WITH_LIVEMEDIA=yes WITH_MATROSKA=yes WITH_XVID=yes WITH_LZO=yes \ > WITH_XMMS=yes WITH_LANG=en > .endif Just wanted to point this out because this is really good info. I had been looking for a while how to define additional make parameters for specific applications in make.conf, since every time I updated I had to recompile some programs by hand to put in the additional options I needed (-DMAKE_WITH... etc). Thanks a lot. Vonleigh Simmons