summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-10-08 04:44:52 +0000
committerxtraeme <xtraeme>2004-10-08 04:44:52 +0000
commitccc976bceac15c6460d1be52af63a0ed9ac05578 (patch)
tree1703658cabba466afeac5bdc53aadd55c760f607 /x11
parentd29b42c7ce6976c9aad3a155582074e5311a16fd (diff)
downloadpkgsrc-ccc976bceac15c6460d1be52af63a0ed9ac05578.tar.gz
Check for the .pc files presence...
Diffstat (limited to 'x11')
-rw-r--r--x11/compositeext/builtin.mk8
-rw-r--r--x11/fixesext/builtin.mk6
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