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 | 1b30ad16684a38b43444637dc64d7c9d3e9e51a7 (patch) | |
tree | 6ea5670a1ef65742ee802c160214c6c7067e5d89 /x11 | |
parent | 524b0a1c343aa2630073a6ca722472ee09b65194 (diff) | |
download | pkgsrc-1b30ad16684a38b43444637dc64d7c9d3e9e51a7.tar.gz |
Check for pkgconfig files (.pc) presence.
Diffstat (limited to 'x11')
-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 |