diff options
-rw-r--r-- | x11/compositeext/builtin.mk | 8 | ||||
-rw-r--r-- | x11/fixesext/builtin.mk | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/x11/compositeext/builtin.mk b/x11/compositeext/builtin.mk index 7daee9c30b6..b1f120001f6 100644 --- a/x11/compositeext/builtin.mk +++ b/x11/compositeext/builtin.mk @@ -1,11 +1,13 @@ -# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:02:35 xtraeme Exp $ +# $NetBSD: builtin.mk,v 1.3 2004/10/08 04:44:52 xtraeme Exp $ -_COMPOSITE_H= ${X11BASE}/include/X11/extensions/composite.h +_COMPOSITE_H= ${X11BASE}/include/X11/extensions/composite.h _COMPOSITE_PROTO_H= ${X11BASE}/include/X11/extensions/compositeproto.h +_COMPOSITEEXT_PC= ${X11BASE}/lib/X11/pkgconfig/compositeext.pc .if !defined(IS_BUILTIN.compositeext) IS_BUILTIN.compositeext= no -. if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H}) +. if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H}) && \ + exists(${_COMPOSITEEXT_PC}) IS_BUILTIN.compositeext= yes . endif .endif # IS_BUILTIN.compositeext diff --git a/x11/fixesext/builtin.mk b/x11/fixesext/builtin.mk index 0058eef87c3..3796674ce56 100644 --- a/x11/fixesext/builtin.mk +++ b/x11/fixesext/builtin.mk @@ -1,11 +1,13 @@ -# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:43:42 xtraeme Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:44:52 xtraeme Exp $ _H_XFIXESPROTO= ${X11BASE}/include/X11/extensions/xfixesproto.h _H_XFIXESWIRE= ${X11BASE}/include/X11/extensions/xfixeswire.h +_FIXESEXT_PC= ${X11BASE}/lib/X11/pkgconfig/fixesext.pc .if !defined(IS_BUILTIN.fixesext) IS_BUILTIN.fixesext= no -. if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE}) +. if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE}) && \ + exists(${_FIXESEXT_PC}) IS_BUILTIN.fixesext= yes . endif .endif # IS_BUILTIN.fixesext |