(strange) .if ${ARCH} == "alpha" style comparations break INDEX ?!

Florent Thoumie flz at xbsd.org
Mon Apr 11 11:13:14 PDT 2005


Le Monday 11 April 2005 à 14:09 -0400, Adam McLaurin a écrit :
> 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.

	That's not an externally defined variable, this is defined by
	bsd.port.mk (in .pre part).

-- 
Florent Thoumie
flz at xbsd.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050411/e0e8e615/attachment.bin


More information about the freebsd-ports mailing list