summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-08 03:59:36 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-08 03:59:36 +0000
commitddca7d9a0915128dc1e43b8a86dc673a5d888784 (patch)
tree40f1b413f1443973a56f2bd822cf1021503c2ad2 /x11
parentf8619bf7b239efdb301d82d18560927cad720c04 (diff)
downloadpkgsrc-ddca7d9a0915128dc1e43b8a86dc673a5d888784.tar.gz
More builtin machinery for X11_TYPE=xorg users.
Diffstat (limited to 'x11')
-rw-r--r--x11/Xcomposite/builtin.mk12
-rw-r--r--x11/compositeext/builtin.mk13
2 files changed, 25 insertions, 0 deletions
diff --git a/x11/Xcomposite/builtin.mk b/x11/Xcomposite/builtin.mk
new file mode 100644
index 00000000000..328c313f521
--- /dev/null
+++ b/x11/Xcomposite/builtin.mk
@@ -0,0 +1,12 @@
+# $NetBSD: builtin.mk,v 1.1 2004/10/08 03:59:36 xtraeme Exp $
+
+_COMPOSITE_H= ${X11BASE}/include/X11/extensions/xcomposite.h
+
+.if !defined(IS_BUILTIN.Xcomposite)
+IS_BUILTIN.Xcomposite= no
+. if exists(${_COMPOSITE_H})
+IS_BUILTIN.Xcomposite= yes
+. endif
+.endif # IS_BUILTIN.Xcomposite
+
+USE_BUILTIN.Xcomposite?= ${IS_BUILTIN.Xcomposite}
diff --git a/x11/compositeext/builtin.mk b/x11/compositeext/builtin.mk
new file mode 100644
index 00000000000..bf3a331aea3
--- /dev/null
+++ b/x11/compositeext/builtin.mk
@@ -0,0 +1,13 @@
+# $NetBSD: builtin.mk,v 1.1 2004/10/08 03:59:36 xtraeme Exp $
+
+_COMPOSITE_H= ${X11BASE}/include/X11/extensions/composite.h
+_COMPOSITE_PROTO_H= ${X11BASE}/include/X11/extensions/composite_proto.h
+
+.if !defined(IS_BUILTIN.compositeext)
+IS_BUILTIN.compositeext= no
+. if exists(${_COMPOSITE_H}) && exists(${_COMPOSITE_PROTO_H})
+IS_BUILTIN.compositeext= yes
+. endif
+.endif # IS_BUILTIN.compositeext
+
+USE_BUILTIN.compositeext?= ${IS_BUILTIN.compositeext}