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.7 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 - 2012 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-8.20/Makefile.in.orig 2012-10-23 18:26:32.000000000 +0200
  26. +++ coreutils-8.20/Makefile.in 2012-12-23 14:20:47.680155027 +0100
  27. @@ -3313,7 +3313,7 @@
  28. pm = progs-makefile
  29. pr = progs-readme
  30. -@CROSS_COMPILING_FALSE@cu_install_program = src/ginstall
  31. +@CROSS_COMPILING_FALSE@cu_install_program = install
  32. # Use the just-built 'ginstall', when not cross-compiling.
  33. @CROSS_COMPILING_TRUE@cu_install_program = @INSTALL_PROGRAM@