summaryrefslogtreecommitdiff
path: root/user/docbook2x/autoconf.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/docbook2x/autoconf.patch')
-rw-r--r--user/docbook2x/autoconf.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/user/docbook2x/autoconf.patch b/user/docbook2x/autoconf.patch
new file mode 100644
index 000000000..f4a471d67
--- /dev/null
+++ b/user/docbook2x/autoconf.patch
@@ -0,0 +1,30 @@
+The evaluation of datadir results in "${prefix}/share" without
+evaluation of the ${prefix} variable with autoconf 2.60.
+
+Index: docbook2X-0.8.8/configure.ac
+===================================================================
+--- docbook2X-0.8.8.orig/configure.ac
++++ docbook2X-0.8.8/configure.ac
+@@ -148,7 +148,7 @@
+ dnl they will reside and should use these static_* values.
+ dnl Ensure that all static_* are fully expanded.
+
+-eval static_datadir="$datadir"
++eval eval static_datadir="$datadir"
+
+ eval static_bindir="$bindir"
+ old_val=""
+--- docbook2X-0.8.8/configure.old 2007-03-03 13:45:28.000000000 +0000
++++ docbook2X-0.8.8/configure 2019-01-13 19:36:53.820000000 +0000
+@@ -5266,6 +5266,11 @@
+
+
+ eval static_datadir="$datadir"
++old_val=""
++until test "$static_datadir" = "$old_val"; do
++ old_val="$static_datadir"
++ eval static_datadir="$static_datadir"
++done
+
+ eval static_bindir="$bindir"
+ old_val=""