diff options
author | joerg <joerg> | 2006-12-16 01:04:43 +0000 |
---|---|---|
committer | joerg <joerg> | 2006-12-16 01:04:43 +0000 |
commit | 4e9d1b39099c1faa3d1bc0178596f08493ae00f9 (patch) | |
tree | 8758e54ae51b35e5ba067ba811b5c7c3d433751e /x11/xproto | |
parent | 76f6baa74eec225b05ee9bc120447302e14f9c76 (diff) | |
download | pkgsrc-4e9d1b39099c1faa3d1bc0178596f08493ae00f9.tar.gz |
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.
Diffstat (limited to 'x11/xproto')
-rw-r--r-- | x11/xproto/builtin.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11/xproto/builtin.mk b/x11/xproto/builtin.mk index 1aa057b7ce9..dd13de90f77 100644 --- a/x11/xproto/builtin.mk +++ b/x11/xproto/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.2 2006/12/15 20:43:01 joerg Exp $ +# $NetBSD: builtin.mk,v 1.3 2006/12/16 01:04:43 joerg Exp $ BUILTIN_PKG:= xproto @@ -11,7 +11,9 @@ BUILTIN_FIND_FILES.H_XFUNCPROTO= ${X11BASE}/include/X11/Xfuncproto.h ### Determine if there is a built-in implementation of the package and ### set IS_BUILTIN.<pkg> appropriately ("yes" or "no"). ### -.if !defined(IS_BUILTIN.xproto) || ${X11BASE} == ${LOCALBASE} +.if ${X11BASE} == ${LOCALBASE} +IS_BUILTIN.xproto= no +.elif !defined(IS_BUILTIN.xproto) IS_BUILTIN.xproto= no . if empty(H_XFUNCPROTO:M__nonexistent__) IS_BUILTIN.xproto= yes |