Index: en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml =================================================================== --- en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml +++ en_US.ISO8859-1/books/porters-handbook/porting-dads/chapter.xml @@ -322,6 +322,37 @@ CFLAGS+= -DHAVE_SOUND + + Verbose Build Logs + + Make the port build system output all commands executed + during the build stage verbosely and not hide them under a + non-informative summary, as complete build logs are crucial to + debugging port problems. + + Non-informative build log example (bad): + + CC source1.o + CC source2.o + CCLD someprogram + + Verbose build log example (good): + + cc -O2 -pipe -I/usr/local/include -c -o source1.o source1.c +cc -O2 -pipe -I/usr/local/include -c -o source2.o source2.c +cc -o someprogram source1.o source2.o -L/usr/local/lib -lsomelib + + Some build systems such as CMake + are set up for verbose logging by the ports framework, in other + cases ports may need tweaks on individual basis, such as + adding + + CONFIGURE_ARGS+= --disable-silent-rules + + to GNU_CONFIGURE-using ports which + default to quiet build. + + Feedback