Opened 5 years ago
Last modified 3 years ago
#60155 assigned defect
intltool: Why has our intltool.m4 patch not been accepted by the intltool developers?
Reported by: | ryandesign (Ryan Carsten Schmidt) | Owned by: | dbevans (David B. Evans) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | intltool |
Description
In our intltool port we patch intltool.m4 to remove a bug (the fact that it searches for perl, which it does not need to do). Why do we have to carry this patch forward forever? Why can the developers of intltool not accept this patch into their software?
Several projects bundle intltool.m4; when they do, we then have to add the patch to those as well (see e.g. #60130). This becomes tedious.
Note: See
TracTickets for help on using
tickets.
Symptom: A project using intltool will fail in the configure step with output similar to:
Workarounds: Until the initltool project applies the fix referenced above (they haven't in 9 years now), there are two possible workarounds:
1) Use autoreconf. The MacPorts version of intltool.m4 has been fixed and will produce a working configure script.
2) Patch the upstream-provided configure script to remove the offending check. For example, see https://github.com/macports/macports-ports/blob/master/xfce/libxfce4ui/files/remove-intltool-perl-hack.diff
The upstream bug report: https://bugs.launchpad.net/intltool/+bug/1197875
Hope this helps others.