summaryrefslogtreecommitdiff
path: root/x11/Xrandr-mixedcase/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11/Xrandr-mixedcase/Makefile')
-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"