Ticket #5766 (closed defect: fixed)
BUG: Kaffe depends on Freetype
|Reported by:||darren.bane@…||Owned by:||macports-tickets@…|
Trying to install Kaffe yields the attached error. As far as I can tell, this is a Kaffe bug, something like the following lines should be in configure.ac, following the example of Gtk+2 there:
PKG_CONFIG_SOMETHING(FREETYPE2, freetype2) AC_SUBST(FREETYPE2_CFLAGS) AC_SUBST(FREETYPE2_LDFLAGS)
However, I get the impression that it's unreasonable to force a run of automake and autoconf after a patch (configure and make are ok though). With that in mind, I've just worked around the bug with the attached patch for the Kaffe Portfile.
<rant>This has all just reinforced my dislike of the GNU build system (automake, autoconf, and now pkg-config). I'd prefer mk and iffe (if you need it, which you probably don't).</rant>