0008-gettext-full-fix-to-use-STAGING_DIR_HOSTPKG-instead-of-STAGING_DIR-host.patch 1.2 KB

1234567891011121314151617181920212223242526272829303132
  1. From: Matthias Schiffer <mschiffer@universe-factory.net>
  2. Date: Thu, 19 Jan 2017 00:04:09 +0100
  3. Subject: gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host
  4. Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
  5. diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch
  6. index c14be728367b57c08024d848cf8ff847cfe865be..a95c268f5bc94ed8ec3784ae2044aa77e0322491 100644
  7. --- a/package/libs/gettext-full/patches/000-relocatable.patch
  8. +++ b/package/libs/gettext-full/patches/000-relocatable.patch
  9. @@ -5,8 +5,8 @@
  10. # Set variables
  11. # - gettext_datadir directory where the data files are stored.
  12. -prefix="@prefix@"
  13. -+if [ -n "$STAGING_DIR" ]; then
  14. -+ prefix="$STAGING_DIR/host"
  15. ++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
  16. ++ prefix="$STAGING_DIR_HOSTPKG"
  17. +else
  18. + prefix="@prefix@"
  19. +fi
  20. @@ -20,8 +20,8 @@
  21. # Set variables
  22. # - gettext_datadir directory where the data files are stored.
  23. -prefix="@prefix@"
  24. -+if [ -n "$STAGING_DIR" ]; then
  25. -+ prefix="$STAGING_DIR/host"
  26. ++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
  27. ++ prefix="$STAGING_DIR_HOSTPKG"
  28. +else
  29. + prefix="@prefix@"
  30. +fi