summaryrefslogtreecommitdiff
path: root/x11/Xrandr-mixedcase
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
commit62e69d7f0121adc57312cdb47e5136c22c09f9e0 (patch)
tree27a2e01a3237611b8dd40c17375bcb0442cc37e9 /x11/Xrandr-mixedcase
parent08d601e8333c157e4c1f27579abb587defc00a2d (diff)
downloadpkgsrc-62e69d7f0121adc57312cdb47e5136c22c09f9e0.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/Xrandr-mixedcase')
-rw-r--r--x11/Xrandr-mixedcase/Makefile17
1 files changed, 5 insertions, 12 deletions
diff --git a/x11/Xrandr-mixedcase/Makefile b/x11/Xrandr-mixedcase/Makefile
index 1548a61d27e..08c8efb0f77 100644
--- a/x11/Xrandr-mixedcase/Makefile
+++ b/x11/Xrandr-mixedcase/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.9 2004/10/03 00:18:28 tv Exp $
+# $NetBSD: Makefile,v 1.10 2005/03/05 18:16:21 wiz Exp $
#
DISTNAME= libXrandr-1.0.2
PKGNAME= Xrandr-1.0.2
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= x11 devel
MASTER_SITES= http://freedesktop.org/~xlibs/release/
EXTRACT_SUFX= .tar.bz2
@@ -21,17 +21,10 @@ GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= xrandr.pc.in
BUILDLINK_DEPENDS.Xrender+= Xrender>=0.8
+BUILDLINK_DEPENDS.randrext+= randrext>=1.0
-.include "../../mk/bsd.prefs.mk"
-
-# Xrandr won't build without the X Extension library which is only present
-# in XFree86>=4.3.
-.if !exists(${X11BASE}/include/X11/extensions/extutil.h)
-PKG_FAIL_REASON= "${PKGNAME} won't build without the X Extension"
-PKG_FAIL_REASON+= "library which is only present in XFree86>=4.3."
-.endif
-
-.include "../../x11/randrext/buildlink3.mk"
.include "../../x11/Xrender/buildlink3.mk"
+.include "../../x11/randrext/buildlink3.mk"
+.include "../../x11/xextensions/buildlink3.mk"
.include "../../devel/pkgconfig/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"