aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/gettext-full/patches
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2017-01-19 00:04:09 +0100
committerMatthias Schiffer <mschiffer@universe-factory.net>2017-01-19 00:05:10 +0100
commit421a6d314a0c8a8ff9e8ede2677007e8fcac3919 (patch)
tree7650e6f4c75f51d006cca3468cb7b5927eed5ea3 /package/libs/gettext-full/patches
parent40d3401f3b4dcd117b3bc3bd2f0b9b8e9d5f03b2 (diff)
downloadupstream-421a6d314a0c8a8ff9e8ede2677007e8fcac3919.tar.gz
upstream-421a6d314a0c8a8ff9e8ede2677007e8fcac3919.tar.bz2
upstream-421a6d314a0c8a8ff9e8ede2677007e8fcac3919.zip
gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
Diffstat (limited to 'package/libs/gettext-full/patches')
-rw-r--r--package/libs/gettext-full/patches/000-relocatable.patch8
1 files 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 c14be72836..a95c268f5b 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