From owner-freebsd-ports@FreeBSD.ORG Mon Apr 11 18:09:04 2005 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 58D4716A4CE for ; Mon, 11 Apr 2005 18:09:04 +0000 (GMT) Received: from out1.smtp.messagingengine.com (out1.smtp.messagingengine.com [66.111.4.25]) by mx1.FreeBSD.org (Postfix) with ESMTP id EBADE43D2F for ; Mon, 11 Apr 2005 18:09:03 +0000 (GMT) (envelope-from freebsd@irotas.net) Received: from web4.messagingengine.com (web4.internal [10.202.2.213]) by frontend1.messagingengine.com (Postfix) with ESMTP id 43CFAC725AD; Mon, 11 Apr 2005 14:09:02 -0400 (EDT) Received: by web4.messagingengine.com (Postfix, from userid 99) id 221A83751; Mon, 11 Apr 2005 14:09:02 -0400 (EDT) Message-Id: <1113242942.4950.231613825@webmail.messagingengine.com> X-Sasl-Enc: POzsLLlh6WdgU25x5eaLu0buHesNW+FKIITUFl/rHF6b 1113242942 From: "Adam McLaurin" To: ports@freebsd.org Content-Disposition: inline Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="ISO-8859-1" MIME-Version: 1.0 X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) References: <20050411134839.668cc3ad@it.buh.tecnik93.com> In-Reply-To: Date: Mon, 11 Apr 2005 14:09:02 -0400 cc: George Kouryachy Subject: Re: (strange) .if ${ARCH} == "alpha" style comparations break INDEX ?! X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Apr 2005 18:09:04 -0000 To fix the Makefile error, wrap all the ${ARCH} with quotes. For example, ("${ARCH}" == "amd64" || "${ARCH}" == "ia64") Scripts should *never* assume that externally defined variables are actually set. Thanks, Adam McLaurin On Mon, 11 Apr 2005 21:49:52 +0400, "George Kouryachy" said: > It's because of lacking ARCH variable > > Just add proper ARCH=i386 or another arch in /etc/make.conf, that's all. > It probably will be added in system sources to /usr/ports/Mk > > On Apr 11, 2005 2:48 PM, Ion-Mihai Tetcu > wrote: > > > > Like in: > > cache-update:25: Updating cached data for /usr/ports/audio/boodler > > "Makefile", line 34: Malformed conditional (${ARCH} == "amd64" || ${ARCH} == "ia64") > > "Makefile", line 34: Need an operator > > "Makefile", line 36: if-less endif > > "Makefile", line 36: Need an operator > > make: fatal errors encountered -- cannot continue > > -- > George V Kouryachy (aka Fr. Br. George) > mailto:george at gmail dot com > _______________________________________________ > freebsd-ports@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports > To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"