From: Matthias Schiffer Date: Wed, 18 Jan 2017 23:04:09 +0000 (+0100) Subject: gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host X-Git-Tag: v18.06.0-rc1~4056 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=421a6d314a0c8a8ff9e8ede2677007e8fcac3919;p=oweals%2Fopenwrt.git gettext-full: fix to use $STAGING_DIR_HOSTPKG instead of $STAGING_DIR/host Signed-off-by: Matthias Schiffer --- 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