Applied debian/patches/003_avoid_makedepend.patch from
authorMichael Brown <mcb30@etherboot.org>
Tue, 11 Mar 2008 00:28:13 +0000 (00:28 +0000)
committerMichael Brown <mcb30@etherboot.org>
Tue, 11 Mar 2008 00:28:13 +0000 (00:28 +0000)
http://ftp.de.debian.org/debian/pool/main/r/rpld/rpld_1.8beta1-8.diff.gz

Makefile

index 54f1379..4260d87 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -257,7 +257,7 @@ proto: ${PROTOSRCS} ${HSRCS} ${LSRCS:%.lex=%.tab.h}
 
 
 depend: ${RCSFILES} ${YSRCS:%.y=%.tab.h} 
-       makedepend -f- ${INCLUDES} ${ALLSRCS} > .depend
+       ${CC} -MM ${INCLUDES} ${ALLSRCS} > .depend
 
 nodep:
        /bin/rm -rf .depend