summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2013-05-28 11:27:09 +0000
committerwiz <wiz@pkgsrc.org>2013-05-28 11:27:09 +0000
commit22f4772aff06e6d153bce014f18028df64d7dd89 (patch)
tree775368a58c6610c4886ffb2ae5b2eebb5e0a3301 /graphics
parent9ce3872a20e46a7cddf19e05a3df94f19149fc52 (diff)
downloadpkgsrc-22f4772aff06e6d153bce014f18028df64d7dd89.tar.gz
Mark the package as broken on NetBSD when dri is not enabled.
The build will fail anyway. Addresses PR 47862 by Jörn Clausen.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/MesaLib/options.mk5
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/MesaLib/options.mk b/graphics/MesaLib/options.mk
index b95ccaaa1e4..48ea27b279b 100644
--- a/graphics/MesaLib/options.mk
+++ b/graphics/MesaLib/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.23 2013/05/27 06:45:30 wiz Exp $
+# $NetBSD: options.mk,v 1.24 2013/05/28 11:27:09 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.MesaLib
PKG_SUPPORTED_OPTIONS=
@@ -55,6 +55,9 @@ CONFIGURE_ARGS+= --with-dri-drivers="i810 i915 i965 mach64 mga r128 r200
.else
CONFIGURE_ARGS+= --with-driver=xlib
PLIST.nodri= yes
+.if !empty(MACHINE_PLATFORM:MNetBSD-[4-9]*-*86*)
+PKG_FAIL_REASON= "The dri option needs to be enabled for this to build on NetBSD."
+.endif
###
### XXX building libOSMesa breaks with -j, and GNU make has no .WAIT
###