Changing postPatch to postAutoreconf is needed when updateAutotoolsGnuConfigScriptsHook is used or the directory change happens too early.
Changing postPatch to postAutoreconf is needed when updateAutotoolsGnuConfigScriptsHook is used or the directory change happens too early.