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
commit69bf3abe3b68205959bc25bb308d361cc202a60f (patch)
tree40f1b413f1443973a56f2bd822cf1021503c2ad2 /x11
parent9040fc8d5168cc1a444be0ac2601cb63a2fcb7a5 (diff)
downloadpkgsrc-69bf3abe3b68205959bc25bb308d361cc202a60f.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}