Problem with ${exec_prefix} substitution
@otaylor
Submitted by Owen Taylor Link to original bug (#660197)
Description
jhbuild/modtypes/autotools.py has:
# If there is no --exec-prefix in the constructed autogen command, we
# can safely assume it will be the same as {prefix} and substitute it
# right now, so the printed command can be copy/pasted afterwards.
# (GNOME #580272)
if not '--exec-prefix' in template:
cmd = cmd.replace('${exec_prefix}', buildscript.config.prefix)
The problem here is that 'template' is something like:
%(srcdir)s/%(autogen-sh)s --prefix %(prefix)s --libdir %(libdir)s %(autogenargs)s
--exec-prefix would probably be inside %(autogenargs) .. probably what was intended was
'--exec-prefix' in command