summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-09-21 17:42:21 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-09-21 17:42:21 +0000
commitf4d680858a0b0ebc24254f592054ab248d881004 (patch)
treea4894816225a80cabbee17b8e719080c15484c52 /x11
parentdbf12c08461f54e76cf1d2e4b1b6d5e4717f333c (diff)
downloadpkgsrc-f4d680858a0b0ebc24254f592054ab248d881004.tar.gz
X.org >= 6.8.0 already contains this library...
Diffstat (limited to 'x11')
-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}