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.

38 lines
1.8 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../coreutils/install.patch
  5. # Copyright (C) 2010 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. Use install instead of ./ginstall for installing at native build stages
  17. When not cross-compiling the just-built ./ginstall is called for installing
  18. the binaries. Because this circumvents the OpenSDE install wrapper, defined
  19. install wrapper filters will not have any effect in "native" build stages.
  20. The coreutils package is heavily relying on install wrapper filters for
  21. changing the install location of certain binaries from '/usr/bin' to '/bin'
  22. to be FHS compliant.
  23. Without this fix those binaries will get installed at both locations,
  24. because on cross-stage the filter is working properly.
  25. --- coreutils-7.4/src/Makefile.in.orig 2010-03-31 19:31:40.000000000 +0200
  26. +++ coreutils-7.4/src/Makefile.in 2010-03-31 19:34:19.000000000 +0200
  27. @@ -1627,7 +1627,7 @@
  28. # translation inhibits printing of UTF-8 names, just skip this test.
  29. au_dotdot = authors-dotdot
  30. au_actual = authors-actual
  31. -@CROSS_COMPILING_FALSE@cu_install_program = ./ginstall
  32. +@CROSS_COMPILING_FALSE@cu_install_program = install
  33. # Use the just-built ./ginstall, when not cross-compiling.
  34. @CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@