1
0

000-compile.patch 1.2 KB

123456789101112131415161718192021222324252627282930
  1. diff --git a/bind/Makefile.in b/bind/Makefile.in
  2. index bd784c6..5950d19 100644
  3. --- a/bind/Makefile.in
  4. +++ b/bind/Makefile.in
  5. @@ -85,13 +85,13 @@ bind2:
  6. echo Bind export libraries already installed ; \
  7. else \
  8. echo Building BIND Export libraries - this takes some time. ;\
  9. - (cd ${bindsrcdir}/lib/export ; \
  10. - echo building in `pwd` ; \
  11. - MAKE=${GMAKE} ${GMAKE} >> ${binddir}/build.log) ; \
  12. + (cd ${bindsrcdir}/lib/export/dns ; \
  13. + echo building gen using ${BUILD_CC} in `pwd` ; \
  14. + $(MAKE) CC=${BUILD_CC} CFLAGS="-O2" LIBS="" gen) ; \
  15. \
  16. echo Installing BIND Export libraries to ${binddir}. ; \
  17. (cd ${bindsrcdir}/lib/export ; \
  18. - MAKE=${GMAKE} ${GMAKE} install > ${binddir}/install.log) ; \
  19. + $(MAKE) DESTDIR="" install > ${binddir}/build.log) ; \
  20. fi
  21. clean:
  22. @@ -100,6 +100,7 @@ clean:
  23. # Include the following so that this Makefile is happy when the parent
  24. # tries to use them.
  25. +install-exec:
  26. distdir: