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 ee4cbd0..7d4bd22 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