From owner-freebsd-questions@FreeBSD.ORG Fri May 20 14:13:16 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 C262E16A4CE for ; Fri, 20 May 2005 14:13:16 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 44C2C43DD0 for ; Fri, 20 May 2005 14:13:16 +0000 (GMT) (envelope-from list-freebsd-2004@morbius.sent.com) Received: from frontend3.messagingengine.com (frontend3.internal [10.202.2.152]) by frontend1.messagingengine.com (Postfix) with ESMTP id C5FC8C914F9; Fri, 20 May 2005 10:13:13 -0400 (EDT) X-Sasl-enc: rckHBdGlmqiLYGb3yxHxj1ywBUQnxCxEAJM3VD5Cqzv7 1116598393 Received: from gumby.localhost (dsl-80-41-76-247.access.as9105.com [80.41.76.247]) by frontend3.messagingengine.com (Postfix) with ESMTP id 13D665F; Fri, 20 May 2005 10:13:12 -0400 (EDT) From: RW To: freebsd-questions@freebsd.org Date: Fri, 20 May 2005 15:13:08 +0100 User-Agent: KMail/1.8 References: <200505191531.02487.nb_root@videotron.ca> <20050519195124.GA34973@xor.obsecurity.org> In-Reply-To: <20050519195124.GA34973@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200505201513.09929.list-freebsd-2004@morbius.sent.com> cc: "Michael C. Shultz" Subject: Re: /etc/make.conf weirdness 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, 20 May 2005 14:13:16 -0000 On Thursday 19 May 2005 20:51, Kris Kennaway wrote: > On Thu, May 19, 2005 at 03:31:02PM -0400, Nicolas Blais wrote: > > Hi, > > > > This is probably a user problem (me), but why is it that when I put this > > in /etc/make.conf: > > > > .if ${.CURDIR:M*/multimedia/transcode} > > WITH_DIVX5=yes WITH_OPTIMIZED_CFLAGS=yes > > .endif > > > > and build transcode, it will only receive WITH_DIVX5 and not the other > > flag. > > > > and if I put this instead: > > > > .if ${.CURDIR:M*/multimedia/transcode} > > WITH_OPTIMIZED_CFLAGS=yes WITH_DIVX5=yes > > .endif > > > > it will receive WITH_OPTIMIZED_CFLAGS and not the other again? > > > > Same with all the ports such as : > > > > .if ${.CURDIR:M*/multimedia/mplayer} > > WITH_OPTIMIZED_CFLAGS=yes WITHOUT_RUNTIME_CPUDETECTION \ > > 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 > > .endif > > > > will only receive WITH OPTIMIZED_CFLAGS. > > > > Any way around this? > > Put each entry on separate lines, don't try to separate them with > whitespace. I think this was probably inspired by the portmanager man-page. The mplayer section above is a slightly edited version of it's sample make.conf.