Closes: #284040
Patch from: NIIBE Yutaka <gniibe@fsij.org>

Cross-building logrotate with dpkg-cross, I encountered a problem.
dpkg-cross sets CPP variable, and compilation failures, because
the executable 'cpp' does not accept multiple input files.


Index: logrotate-3.7.1/Makefile
===================================================================
--- logrotate-3.7.1.orig/Makefile	2003-10-09 21:05:07.000000000 +0100
+++ logrotate-3.7.1/Makefile	2006-04-08 21:21:31.333853922 +0100
@@ -88,7 +88,7 @@
 	rm -f $(OBJS) $(PROG) core* .depend
 
 depend:
-	$(CPP) $(CFLAGS) -M $(SOURCES) > .depend
+	$(CC) -E $(CFLAGS) -M $(SOURCES) > .depend
 
 .PHONY : test
 test: $(TARGET)


syntax highlighted by Code2HTML, v. 0.9.1