mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
421a6d314a
Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
31 lines
866 B
Diff
31 lines
866 B
Diff
--- a/gettext-tools/misc/autopoint.in
|
|
+++ b/gettext-tools/misc/autopoint.in
|
|
@@ -27,7 +27,11 @@ archive_version=@ARCHIVE_VERSION@
|
|
|
|
# Set variables
|
|
# - gettext_datadir directory where the data files are stored.
|
|
-prefix="@prefix@"
|
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
|
+else
|
|
+ prefix="@prefix@"
|
|
+fi
|
|
datarootdir="@datarootdir@"
|
|
: ${gettext_datadir="@datadir@/gettext"}
|
|
: ${AUTOM4TE=autom4te}
|
|
--- a/gettext-tools/misc/gettextize.in
|
|
+++ b/gettext-tools/misc/gettextize.in
|
|
@@ -27,7 +27,11 @@ archive_version=@ARCHIVE_VERSION@
|
|
|
|
# Set variables
|
|
# - gettext_datadir directory where the data files are stored.
|
|
-prefix="@prefix@"
|
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
|
+else
|
|
+ prefix="@prefix@"
|
|
+fi
|
|
datarootdir="@datarootdir@"
|
|
: ${gettext_datadir="@datadir@/gettext"}
|
|
: ${AUTOM4TE=autom4te}
|