Date: Mon, 11 Apr 2005 14:09:02 -0400 From: "Adam McLaurin" <freebsd@irotas.net> To: ports@freebsd.org Cc: George Kouryachy <frbrgeorge@gmail.com> Subject: Re: (strange) .if ${ARCH} == "alpha" style comparations break INDEX ?! Message-ID: <1113242942.4950.231613825@webmail.messagingengine.com> In-Reply-To: <f6879d2c050411104937cbaf59@mail.gmail.com> References: <20050411134839.668cc3ad@it.buh.tecnik93.com> <f6879d2c050411104937cbaf59@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <frbrgeorge@gmail.com> 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 <itetcu@people.tecnik93.com> > 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1113242942.4950.231613825>