From 4e9d1b39099c1faa3d1bc0178596f08493ae00f9 Mon Sep 17 00:00:00 2001 From: joerg Date: Sat, 16 Dec 2006 01:04:43 +0000 Subject: For reasons beyond my compressions, (b)make handles .if foo || bar BAZ= no .else BAZ= yes .endif different from .if foo BAZ= no .elif bar BAZ= no .else BAZ= yes .endif in some situations exposed in this builtin.mk. Workaround this for now. --- x11/randrproto/builtin.mk | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'x11/randrproto') diff --git a/x11/randrproto/builtin.mk b/x11/randrproto/builtin.mk index 3733d4dd1e4..8616e4db31f 100644 --- a/x11/randrproto/builtin.mk +++ b/x11/randrproto/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.2 2006/12/15 20:43:00 joerg Exp $ +# $NetBSD: builtin.mk,v 1.3 2006/12/16 01:04:43 joerg Exp $ # TODO: builtin.mk failed to use native on XFree86 # the two headers are identical with native XFree86 @@ -14,7 +14,9 @@ BUILTIN_FIND_FILES.H_RANDR= ${X11BASE}/include/X11/extensions/randr.h ### Determine if there is a built-in implementation of the package and ### set IS_BUILTIN. appropriately ("yes" or "no"). ### -.if !defined(IS_BUILTIN.randrproto) || ${X11BASE} == ${LOCALBASE} +.if ${X11BASE} == ${LOCALBASE} +IS_BUILTIN.randrproto= no +.elif !defined(IS_BUILTIN.randrproto) IS_BUILTIN.randrproto= no # # Here, we skip checking whether the files are under ${LOCALBASE} since -- cgit v1.2.3