diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-10-08 05:24:46 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-10-08 05:24:46 +0000 |
commit | 8342268de747f779fa48061f6741e01faf0df0eb (patch) | |
tree | 6ea5670a1ef65742ee802c160214c6c7067e5d89 | |
parent | b4e74aae7779893366844a8c03fa3c2aeaee1be0 (diff) | |
download | pkgsrc-8342268de747f779fa48061f6741e01faf0df0eb.tar.gz |
Check for pkgconfig files (.pc) presence.
-rw-r--r-- | x11/Xcomposite/builtin.mk | 5 | ||||
-rw-r--r-- | x11/Xfixes/builtin.mk | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/x11/Xcomposite/builtin.mk b/x11/Xcomposite/builtin.mk index b3482bd81a3..faab57ae6f7 100644 --- a/x11/Xcomposite/builtin.mk +++ b/x11/Xcomposite/builtin.mk @@ -1,10 +1,11 @@ -# $NetBSD: builtin.mk,v 1.2 2004/10/08 04:01:49 xtraeme Exp $ +# $NetBSD: builtin.mk,v 1.3 2004/10/08 05:24:46 xtraeme Exp $ _XCOMPOSITE_H= ${X11BASE}/include/X11/extensions/xcomposite.h +_XCOMPOSITE_PC= ${X11BASE}/lib/X11/pkgconfig/xcomposite.pc .if !defined(IS_BUILTIN.Xcomposite) IS_BUILTIN.Xcomposite= no -. if exists(${_XCOMPOSITE_H}) +. if exists(${_XCOMPOSITE_H}) && exists(${_XCOMPOSITE_PC}) IS_BUILTIN.Xcomposite= yes . endif .endif # IS_BUILTIN.Xcomposite diff --git a/x11/Xfixes/builtin.mk b/x11/Xfixes/builtin.mk index 1e1b9b72636..80df6952577 100644 --- a/x11/Xfixes/builtin.mk +++ b/x11/Xfixes/builtin.mk @@ -1,10 +1,11 @@ -# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:42:21 xtraeme Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/10/08 05:24:46 xtraeme Exp $ _H_XFIXES= ${X11BASE}/include/X11/extensions/Xfixes.h +_FIXESEXT_PC= ${X11BASE}/lib/X11/pkgconfig/xfixes.pc .if !defined(IS_BUILTIN.Xfixes) IS_BUILTIN.Xfixes= no -. if exists(${_H_XFIXES}) +. if exists(${_H_XFIXES}) && exists(${_FIXESEXT_PC}) IS_BUILTIN.Xfixes= yes . endif .endif # IS_BUILTIN.Xfixes |