diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-10-08 04:44:52 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-10-08 04:44:52 +0000 |
commit | 41f1e779b995721147fd7e2f666f918e68b91586 (patch) | |
tree | 1703658cabba466afeac5bdc53aadd55c760f607 | |
parent | 4a48a2c651ea927ae1f8f2ac984ba281fe35bc7d (diff) | |
download | pkgsrc-41f1e779b995721147fd7e2f666f918e68b91586.tar.gz |
Check for the .pc files presence...
-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 |