From owner-freebsd-ports@FreeBSD.ORG Fri Jan 7 12:09:02 2011 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83BE21065670; Fri, 7 Jan 2011 12:09:02 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirg.bris.ac.uk (dirg.bris.ac.uk [137.222.10.102]) by mx1.freebsd.org (Postfix) with ESMTP id 111E78FC08; Fri, 7 Jan 2011 12:09:02 +0000 (UTC) Received: from ncsd.bris.ac.uk ([137.222.10.59] helo=ncs.bris.ac.uk) by dirg.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1PbB7t-0000cb-6u; Fri, 07 Jan 2011 12:09:01 +0000 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncs.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1PbB7s-0003Sm-SC; Fri, 07 Jan 2011 12:09:00 +0000 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p07C90q9070757; Fri, 7 Jan 2011 12:09:00 GMT (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p07C90QS070756; Fri, 7 Jan 2011 12:09:00 GMT (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Fri, 7 Jan 2011 12:09:00 +0000 From: Anton Shterenlikht To: Anonymous Message-ID: <20110107120900.GA70442@mech-cluster241.men.bris.ac.uk> References: <20110107095816.GA64948@mech-cluster241.men.bris.ac.uk> <86lj2xhrfi.fsf@gmail.com> <20110107114923.GA70063@mech-cluster241.men.bris.ac.uk> <86wrmghqjc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86wrmghqjc.fsf@gmail.com> User-Agent: Mutt/1.4.2.3i Cc: riggs@rrr.de, Anton Shterenlikht , freebsd-ports@freebsd.org, Eygene Ryabinkin Subject: Re: mplayer options patch X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Jan 2011 12:09:02 -0000 On Fri, Jan 07, 2011 at 03:00:39PM +0300, Anonymous wrote: > Anton Shterenlikht writes: > > >> $ make config > >> "Makefile", line 16: Malformed conditional (${ARCH} == "i386" || ${ARCH} == "amd64" || ${ARCH} == "powerpc") > >> "Makefile", line 18: if-less else > >> "Makefile", line 20: if-less endif > >> make: fatal errors encountered -- cannot continue > > > > I put Eygene's snippet after .include , > > see my previous post. It seems to work. > > bsd.port.pre.mk starts after OPTIONS were already parsed. > Try to check > > $ make rmconfig > $ make -V WITH_RTCPU ARCH=sparc64 > true # make rmconfig ===> Removing user-configured options for mplayer-1.0.r20101106 rmdir: /var/db/ports/mplayer: Directory not empty *** Error code 1 (ignored) # make -V WITH_RTCPU ARCH=sparc64 # make -V WITH_RTCPU ARCH=ia64 # those are empty lines of output. On my ia64 I get in the dialog: *skip* | |[ ] LIBLZO Enable external liblzo library | | | |[ ] JOYSTICK Enable joystick support | | | |[ ] V4L Enable Video4Linux TV support | | | |[ ] RTCPU Allow runtime CPU detection | | +-+----------------------------------------------------------------+-+ | [ OK ] Cancel | +--------------------------------------------------------------------+ -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423