Workaround wierd oops on gutsy when building mesa.
authorKeith Whitwell <keith@tungstengraphics.com>
Fri, 3 Aug 2007 11:28:03 +0000 (12:28 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Fri, 3 Aug 2007 11:28:03 +0000 (12:28 +0100)
src/mesa/Makefile

index ee4cbd0d38e3ba076707195b00383c6454aef538..7d4bd22203df48722c9f9b846a702ae16c8ca9fe 100644 (file)
@@ -141,8 +141,9 @@ $(TOP)/$(LIB_DIR)/$(OSMESA_LIB_NAME): $(OSMESA_DRIVER_OBJECTS) $(OSMESA16_OBJECT
 
 depend: $(ALL_SOURCES)
        @ echo "running $(MKDEP)"
+       @ rm -f depend  # workaround oops on gutsy?!?
        @ touch depend
-       @$(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDE_DIRS) $(ALL_SOURCES) \
+       @ $(MKDEP) $(MKDEP_OPTIONS) $(DEFINES) $(INCLUDE_DIRS) $(ALL_SOURCES) \
                > /dev/null 2>/dev/null