Subject: Re: Malformed conditionals
To: Jake Maciejewski <>
From: grant beattie <>
List: tech-pkg
Date: 07/09/2005 13:09:42
On Fri, Jul 08, 2005 at 09:17:13PM -0500, Jake Maciejewski wrote:

> bmake: "../../mk/wrapper/../../mk/buildlink3/../../x11/Xrandr/../../mk/wrapper/../../mk/buildlink3/../../x11/Xrandr/" line 1: Malformed conditional (!empty(BUILTIN_X11_VERSION.${X11_TYPE}:M6.[7-9]*))

this is the result of not using .if defined(...) before testing the
value of a variable. pkgsrc folks, we must always test for
defined(...) to avoid this.

it should be as simple as changing

	.if !empty(BUILTIN_X11_VERSION.${X11_TYPE}:M6.[7-9]*)


	.if defined(BUILTIN_X11_VERSION.${X11_TYPE}) && !empty(...)

in x11/Xrandr/ can you try this?