summaryrefslogtreecommitdiff
path: root/pkgtools/x11-links
diff options
context:
space:
mode:
authorrecht <recht@pkgsrc.org>2004-03-15 17:30:18 +0000
committerrecht <recht@pkgsrc.org>2004-03-15 17:30:18 +0000
commitb4268706cf5aaa25f2645d9e58349b03655e4059 (patch)
treecdd83bf67737a8ef660bf982e41c0590c675bd29 /pkgtools/x11-links
parent4d526468b592c0cc7e99b9ecc3349f0f272ae9af (diff)
downloadpkgsrc-b4268706cf5aaa25f2645d9e58349b03655e4059.tar.gz
Xrandr won't build without the X Extension library which is only present
in XFree86>=4.3; ignore it when checking dependencies or buildlinking. Skip also randrext (Xrandr's header files) in this case. The patch agains x11-links' builtin.mk is a slightly modified version of the patch jlam@ posted in: http://mail-index.netbsd.org/tech-pkg/2004/03/15/0001.html ok'd by jlam@
Diffstat (limited to 'pkgtools/x11-links')
-rw-r--r--pkgtools/x11-links/builtin.mk11
1 files changed, 10 insertions, 1 deletions
diff --git a/pkgtools/x11-links/builtin.mk b/pkgtools/x11-links/builtin.mk
index 73fb8d26fcb..252f1ed8177 100644
--- a/pkgtools/x11-links/builtin.mk
+++ b/pkgtools/x11-links/builtin.mk
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.2 2004/03/15 10:35:13 tron Exp $
+# $NetBSD: builtin.mk,v 1.3 2004/03/15 17:30:18 recht Exp $
.if !defined(XF86_VERSION)
_X11_CONFIG_VERSION_DEF= ${X11BASE}/lib/X11/config/version.def
@@ -30,3 +30,12 @@ MAKEFLAGS+= XF86_VERSION=${XF86_VERSION}
.endif
USE_BUILTIN.x11-links?= no
+
+# Xrandr won't build without the X Extension library which is only present
+# in XFree86>=4.3; ignore it when checking dependencies or buildlinking.
+#
+.if !exists(${X11BASE}/include/X11/extensions/extutil.h)
+IGNORE_PKG.Xrandr= yes
+IGNORE_PKG.randrext= yes
+.endif
+