diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:43:27 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2015-11-22 02:43:27 +0000 |
commit | e3a07a4e68d0d97b1861db30e1ec5f90a573281b (patch) | |
tree | 32019ee1244f7b75e572fd54d870d59cde5725a3 /lib/mesa/src/loader | |
parent | d41b141680bb701643858a166cd72d49308bf9d2 (diff) |
import Mesa 11.0.6
Diffstat (limited to 'lib/mesa/src/loader')
-rw-r--r-- | lib/mesa/src/loader/SConscript | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/mesa/src/loader/SConscript b/lib/mesa/src/loader/SConscript index 6a315642c..d98f11e3c 100644 --- a/lib/mesa/src/loader/SConscript +++ b/lib/mesa/src/loader/SConscript @@ -8,11 +8,9 @@ env.Prepend(CPPPATH = [ '#include' ]) -if env['drm']: - env.PkgUseModules('DRM') - env.Append(CPPDEFINES = ['HAVE_LIBDRM']) - -env.Append(CPPDEFINES = ['DEFAULT_DRIVER_DIR=\\"/usr/local/lib/dri\\"']) +if env['udev']: + env.PkgUseModules('UDEV') + env.Append(CPPDEFINES = ['HAVE_LIBUDEV']) # parse Makefile.sources sources = env.ParseSourceList('Makefile.sources', 'LOADER_C_FILES') |