Tags 897114 +patch thanks This was blocking a transition in raspbian, so I whipped up a fix. Debdiff at http://debdiffs.raspbian.org/main/i/ifrit/ifrit_4.1.2-5%2brpi1.debdiff , no intent to NMU in Debian.
The only tricky bit was that there seems to have been a typo in debian/rules, there was a target called override_dh_autoconfigure which I presume was a typo for override_dh_autoconfigure , I tried fixing said typo but that seemed to cause more problems than it solved, so I left it alone and added my own override target. You might want to consider either fixing or removing the dead code.