summaryrefslogtreecommitdiff
path: root/x11/Xcomposite
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-08 05:24:46 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-08 05:24:46 +0000
commit1b30ad16684a38b43444637dc64d7c9d3e9e51a7 (patch)
tree6ea5670a1ef65742ee802c160214c6c7067e5d89 /x11/Xcomposite
parent524b0a1c343aa2630073a6ca722472ee09b65194 (diff)
downloadpkgsrc-1b30ad16684a38b43444637dc64d7c9d3e9e51a7.tar.gz
Check for pkgconfig files (.pc) presence.
Diffstat (limited to 'x11/Xcomposite')
-rw-r--r--x11/Xcomposite/builtin.mk5
1 files changed, 3 insertions, 2 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