summaryrefslogtreecommitdiff
path: root/x11/Xcomposite
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-10-08 05:24:46 +0000
committerxtraeme <xtraeme>2004-10-08 05:24:46 +0000
commitacc4f2bf4cd1fa7fa90960e91ec5e725f5303d68 (patch)
tree6ea5670a1ef65742ee802c160214c6c7067e5d89 /x11/Xcomposite
parent05e0acb37751145b2daef5dded8b65e4989bf2a7 (diff)
downloadpkgsrc-acc4f2bf4cd1fa7fa90960e91ec5e725f5303d68.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