--- src/egl/drivers/dri2/Makefile.orig 2010-08-29 00:00:43.000000000 +0200 +++ src/egl/drivers/dri2/Makefile 2010-08-29 04:25:53.000000000 +0200 @@ -10,7 +10,7 @@ -I$(TOP)/include \ -I$(TOP)/src/egl/main \ -I$(TOP)/src/mapi \ - -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" \ + -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\" \ $(XCB_DRI2_CFLAGS) \ $(LIBUDEV_CFLAGS) \ $(LIBDRM_CFLAGS) --- src/glx/Makefile.orig 2010-08-29 00:02:39.000000000 +0200 +++ src/glx/Makefile 2010-08-29 04:30:33.000000000 +0200 @@ -2,7 +2,7 @@ endif EXTRA_DEFINES = $(EXTRA_DEFINES_XF86VIDMODE) -D_REENTRANT \ - -DDEFAULT_DRIVER_DIR=\"$(DRI_DRIVER_SEARCH_DIR)\" + -DDEFAULT_DRIVER_DIR=\"/usr/REPLACE/dri/updates:/usr/REPLACE/dri\" SOURCES = \ clientattrib.c \