summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxtraeme <xtraeme>2004-09-21 17:42:21 +0000
committerxtraeme <xtraeme>2004-09-21 17:42:21 +0000
commit3e908e7e0784e82abb4c4420d99057839f58a548 (patch)
treea4894816225a80cabbee17b8e719080c15484c52
parentf4b738bc40c1b753b7e2b08c59cc5a9a38f99336 (diff)
downloadpkgsrc-3e908e7e0784e82abb4c4420d99057839f58a548.tar.gz
X.org >= 6.8.0 already contains this library...
-rw-r--r--x11/Xfixes/builtin.mk12
-rw-r--r--x11/fixesext/builtin.mk13
2 files changed, 25 insertions, 0 deletions
diff --git a/x11/Xfixes/builtin.mk b/x11/Xfixes/builtin.mk
new file mode 100644
index 00000000000..1e1b9b72636
--- /dev/null
+++ b/x11/Xfixes/builtin.mk
@@ -0,0 +1,12 @@
+# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:42:21 xtraeme Exp $
+
+_H_XFIXES= ${X11BASE}/include/X11/extensions/Xfixes.h
+
+.if !defined(IS_BUILTIN.Xfixes)
+IS_BUILTIN.Xfixes= no
+. if exists(${_H_XFIXES})
+IS_BUILTIN.Xfixes= yes
+. endif
+.endif # IS_BUILTIN.Xfixes
+
+USE_BUILTIN.Xfixes?= ${IS_BUILTIN.Xfixes}
diff --git a/x11/fixesext/builtin.mk b/x11/fixesext/builtin.mk
new file mode 100644
index 00000000000..0058eef87c3
--- /dev/null
+++ b/x11/fixesext/builtin.mk
@@ -0,0 +1,13 @@
+# $NetBSD: builtin.mk,v 1.1 2004/09/21 17:43:42 xtraeme Exp $
+
+_H_XFIXESPROTO= ${X11BASE}/include/X11/extensions/xfixesproto.h
+_H_XFIXESWIRE= ${X11BASE}/include/X11/extensions/xfixeswire.h
+
+.if !defined(IS_BUILTIN.fixesext)
+IS_BUILTIN.fixesext= no
+. if exists(${_H_XFIXESPROTO}) && exists(${_H_XFIXESWIRE})
+IS_BUILTIN.fixesext= yes
+. endif
+.endif # IS_BUILTIN.fixesext
+
+USE_BUILTIN.fixesext?= ${IS_BUILTIN.fixesext}