summaryrefslogtreecommitdiff
path: root/x11/randrext
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-03-05 18:16:21 +0000
committerwiz <wiz@pkgsrc.org>2005-03-05 18:16:21 +0000
commit8a95eb450573436053fe8a1307dcff3f6bdc786e (patch)
tree27a2e01a3237611b8dd40c17375bcb0442cc37e9 /x11/randrext
parent5c8006c83dad253c5ed0a6a7bc636c524cdc4348 (diff)
downloadpkgsrc-8a95eb450573436053fe8a1307dcff3f6bdc786e.tar.gz
Instead of disabling the randrext and Xrandr packages on systems
which have no extutil.h header file, just make them depend on the xextensions package which provides it. Bump PKGREVISION for Xrandr and randrext. Add builtin.mk file for xextensions. jlam says ok.
Diffstat (limited to 'x11/randrext')
-rw-r--r--x11/randrext/Makefile14
-rw-r--r--x11/randrext/buildlink3.mk4
2 files changed, 6 insertions, 12 deletions
diff --git a/x11/randrext/Makefile b/x11/randrext/Makefile
index 32b0950a6c1..c025ca32eeb 100644
--- a/x11/randrext/Makefile
+++ b/x11/randrext/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.8 2004/05/07 01:14:51 xtraeme Exp $
+# $NetBSD: Makefile,v 1.9 2005/03/05 18:16:21 wiz Exp $
DISTNAME= randrext-1.0
+PKGREVISION= 1
CATEGORIES= x11 devel
MASTER_SITES= http://freedesktop.org/~xlibs/release/
EXTRACT_SUFX= .tar.bz2
@@ -16,14 +17,5 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= randr.pc.in
-.include "../../mk/bsd.prefs.mk"
-
-# Xrandr won't build without the X Extension library which is only present
-# in XFree86>=4.3. For this reason we don't need the header files.
-.if !exists(${X11BASE}/include/X11/extensions/extutil.h)
-PKG_SKIP_REASON= "Xrandr won't build without the X Extension"
-PKG_SKIP_REASON+= "library which is only present in XFree86>=4.3."
-PKG_SKIP_REASON+= "For this reason we don't need the header files."
-.endif
-
+.include "../../x11/xextensions/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/x11/randrext/buildlink3.mk b/x11/randrext/buildlink3.mk
index c5c01ef3591..21a4efa2d03 100644
--- a/x11/randrext/buildlink3.mk
+++ b/x11/randrext/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.3 2004/03/10 17:57:15 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.4 2005/03/05 18:16:21 wiz Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
RANDREXT_BUILDLINK3_MK:= ${RANDREXT_BUILDLINK3_MK}+
@@ -15,6 +15,8 @@ BUILDLINK_DEPENDS.randrext+= randrext>=1.0
BUILDLINK_PKGSRCDIR.randrext?= ../../x11/randrext
BUILDLINK_DEPMETHOD.randrext?= build
+.include "../../x11/xextensions/buildlink3.mk"
+
USE_X11= yes
.endif # RANDREXT_BUILDLINK3_MK