X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fstaging%2Fwigyori.git;a=blobdiff_plain;f=package%2Flibs%2Fgettext-full%2Fpatches%2F000-relocatable.patch;h=a95c268f5bc94ed8ec3784ae2044aa77e0322491;hp=c475579b39d90f1f665ba1522e297ec1ba147921;hb=9537c1a153591d2f6082a797d1d088c5d921e9cc;hpb=b809725eb185c00c14e34d8e4e9d5c4d30a5a985 diff --git a/package/libs/gettext-full/patches/000-relocatable.patch b/package/libs/gettext-full/patches/000-relocatable.patch index c475579b39..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