summaryrefslogblamecommitdiff
path: root/user/docbook2x/autoconf.patch
blob: f4a471d679b45f190a40dbf937373946cd0330c6 (plain) (tree)





























                                                                           
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=""