summaryrefslogtreecommitdiff
path: root/user/docbook2x/autoconf.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-13 19:39:33 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-13 19:39:33 +0000
commitf757be6cc8936ad483dc4cec386171a886275e68 (patch)
tree0903bff29e7ffaffc3a30a177122eb41fd5bad7a /user/docbook2x/autoconf.patch
parent0eb7d69828e2f7747b1c8a56eeea076b91fa0d56 (diff)
downloadpackages-f757be6cc8936ad483dc4cec386171a886275e68.tar.gz
packages-f757be6cc8936ad483dc4cec386171a886275e68.tar.bz2
packages-f757be6cc8936ad483dc4cec386171a886275e68.tar.xz
packages-f757be6cc8936ad483dc4cec386171a886275e68.zip
user/docbook2x: apply autoconf patch
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=""