[source] gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host

LEDE Commits lede-commits at lists.infradead.org
Wed Jan 18 15:06:02 PST 2017


neoraider pushed a commit to source.git, branch master:
https://git.lede-project.org/421a6d314a0c8a8ff9e8ede2677007e8fcac3919

commit 421a6d314a0c8a8ff9e8ede2677007e8fcac3919
Author: Matthias Schiffer <mschiffer at universe-factory.net>
AuthorDate: Thu Jan 19 00:04:09 2017 +0100

    gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host
    
    Signed-off-by: Matthias Schiffer <mschiffer at universe-factory.net>
---
 package/libs/gettext-full/patches/000-relocatable.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch
index c14be72..a95c268 100644
--- a/package/libs/gettext-full/patches/000-relocatable.patch
+++ b/package/libs/gettext-full/patches/000-relocatable.patch
@@ -5,8 +5,8 @@
  # Set variables
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
-+if [ -n "$STAGING_DIR" ]; then
-+	prefix="$STAGING_DIR/host"
++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
++	prefix="$STAGING_DIR_HOSTPKG"
 +else
 +	prefix="@prefix@"
 +fi
@@ -20,8 +20,8 @@
  # Set variables
  # - gettext_datadir     directory where the data files are stored.
 -prefix="@prefix@"
-+if [ -n "$STAGING_DIR" ]; then
-+	prefix="$STAGING_DIR/host"
++if [ -n "$STAGING_DIR_HOSTPKG" ]; then
++	prefix="$STAGING_DIR_HOSTPKG"
 +else
 +	prefix="@prefix@"
 +fi



More information about the lede-commits mailing list