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-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=421a6d314a0c8a8ff9e8ede2677007e8fcac3919;p=openwrt%2Fstaging%2Fadrian.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