2016-01-12 07:51:56 +00:00
|
|
|
--- 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@"
|
2017-01-18 23:04:09 +00:00
|
|
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
|
|
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
2016-01-12 07:51:56 +00:00
|
|
|
+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@"
|
2017-01-18 23:04:09 +00:00
|
|
|
+if [ -n "$STAGING_DIR_HOSTPKG" ]; then
|
|
|
|
+ prefix="$STAGING_DIR_HOSTPKG"
|
2016-01-12 07:51:56 +00:00
|
|
|
+else
|
|
|
|
+ prefix="@prefix@"
|
|
|
|
+fi
|
|
|
|
datarootdir="@datarootdir@"
|
|
|
|
: ${gettext_datadir="@datadir@/gettext"}
|
|
|
|
: ${AUTOM4TE=autom4te}
|