freedoko-0.7.13-gentoo.patch 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. diff -ru FreeDoko_0.7.13.orig/src/Makefile FreeDoko_0.7.13/src/Makefile
  2. --- FreeDoko_0.7.13.orig/src/Makefile 2014-12-29 15:41:58.000000000 -0500
  3. +++ FreeDoko_0.7.13/src/Makefile 2015-01-27 13:23:11.498892598 -0500
  4. @@ -242,15 +242,7 @@
  5. # compile FreeDoko
  6. $(PROGRAM) : show_settings objects $(DIRECTORIES)
  7. @echo 'compiling $(PROGRAM)...'
  8. -# Gentoo users do want to see the real compile line.
  9. -# So remove the next five lines (the echo lines)
  10. -# and remove the '@' in the line after.
  11. - @echo '$(CXX) $(CXXFLAGS)'
  12. - @echo ' $$(OBJECTS)'
  13. - @echo ' $(INCLUDE_ALL)'
  14. - @echo ' $(LIBS_ALL)'
  15. - @echo ' -o $@'
  16. - @$(CXX) $(CXXFLAGS) \
  17. + $(CXX) $(CXXFLAGS) \
  18. $(OBJECTS_ALL:%.o=$(FREEDOKO_WORKING_DIRECTORY)/%.o) \
  19. $(INCLUDE_ALL) \
  20. $(LIBS_ALL) \
  21. diff -ru FreeDoko_0.7.13.orig/src/Makefile.os FreeDoko_0.7.13/src/Makefile.os
  22. --- FreeDoko_0.7.13.orig/src/Makefile.os 2014-12-29 15:41:58.000000000 -0500
  23. +++ FreeDoko_0.7.13/src/Makefile.os 2015-01-27 13:23:22.185483548 -0500
  24. @@ -1,6 +1,5 @@
  25. include $(DEPTH)/../Makefile.os
  26. -include $(DEPTH)/Makefile.local
  27. include $(DEPTH)/Makefile.modules
  28. ifeq ($(OPERATING_SYSTEM), Linux)
  29. diff -ru FreeDoko_0.7.13.orig/src/Makefile.rules FreeDoko_0.7.13/src/Makefile.rules
  30. --- FreeDoko_0.7.13.orig/src/Makefile.rules 2014-12-29 15:41:58.000000000 -0500
  31. +++ FreeDoko_0.7.13/src/Makefile.rules 2015-01-27 13:23:44.780618643 -0500
  32. @@ -80,10 +80,7 @@
  33. $(DEPTH)/Makefile.modules \
  34. $(DEPTH)/Makefile.local \
  35. $(DEPTH)/Makefile.os
  36. -# Gentoo users do want to see the real compile line.
  37. -# So remove the next line and remove the '@' in the line after.
  38. - @echo $(CXX) -c $(SUBDIR)/$<
  39. - @$(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<
  40. + $(CXX) $(CPPFLAGS) $(CXXFLAGS) $(INCLUDE) $(DEPGEN_FLAGS) -o $@ -c $<
  41. -include $(OBJECTS:%.o=$(TARGET_DIR_LOCAL)%.d)