OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../evms/evms-2.5.5-make-depend.patch
  5. # Copyright (C) 2006 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. Submitted by: Christian Wiese (morfoh at opensde.org)
  17. Date: 2006-11-26
  18. Initial Package Version: 2.5.5
  19. Upstream Status: submitted
  20. Origin: package/filesystem/evms/evms-2.5.5-make-depend.patch by Christian Wiese
  21. Open System Development Environment (http://opensde.org)
  22. Description: Fixes the way evms generates .depend files
  23. While generating the .depend files CPP bails out with: cpp: too many input files
  24. --- evms-2.5.5/make.rules.in.orig 2006-11-26 16:02:13.000000000 +0200
  25. +++ evms-2.5.5/make.rules.in 2006-11-26 16:03:26.000000000 +0200
  26. @@ -137,7 +137,10 @@
  27. # Generating dependencies
  28. .depend:
  29. - $(CPP) -M $(EVMS_CPPFLAGS) $(CPPFLAGS) $(EVMS_DEFS) $(SOURCES) > .depend
  30. + rm -f .depend
  31. + for i in $(SOURCES); do \
  32. + $(CPP) -MM $(EVMS_CPPFLAGS) $(CPPFLAGS) $(EVMS_DEFS) $$i >> .depend; \
  33. + done
  34. # Generating linker version-scripts for the plugins.
  35. .export: