diff options
author | wiz <wiz@pkgsrc.org> | 2013-05-28 11:27:09 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2013-05-28 11:27:09 +0000 |
commit | 71058757db58a8bfa762ade901186b520d48791e (patch) | |
tree | 775368a58c6610c4886ffb2ae5b2eebb5e0a3301 /graphics | |
parent | a6d9fcbd6cda2987edf5cb94942fbe4dec278289 (diff) | |
download | pkgsrc-71058757db58a8bfa762ade901186b520d48791e.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.mk | 5 |
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 ### |