[MacPorts] #41612: gr-fosphor fails to build with freetype 2.5.1

MacPorts noreply at macports.org
Sat Nov 30 18:20:10 PST 2013


#41612: gr-fosphor fails to build with freetype 2.5.1
----------------------------+--------------------------
  Reporter:  kai.garrels@…  |      Owner:  ryandesign@…
      Type:  defect         |     Status:  closed
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.2.1
Resolution:  fixed          |   Keywords:
      Port:  gr-fosphor     |
----------------------------+--------------------------

Comment (by ryandesign@…):

 Thanks; my fix worked for me on Mavericks, and IIRC on the Mountain Lion
 buildbot but not the Lion or Snow Leopard buildbots, where it failed,
 finding an older freetype in /usr/X11R6. (Mountain Lion and later do not
 ship with any X11 in /usr.) I was not able to understand why this happened
 because the string /usr/X11R6 does not occur within the gr-fosphor source
 code. cmake is still somewhat baffling to me. Glad you found a fix.

 As part of my fix, I had removed the paths /usr/include/freetype2 and
 /usr/local/include/freetype2; we never want MacPorts to find freetype
 there, nor do we want MacPorts to find any dependencies in system
 directories in general. You've reinstated those paths so future
 incompatible updates to freetype might result in finding freetype in
 system locations again. Also I had changed the check to look for
 ft2build.h, because this file exists in all recent versions of freetype.
 You changed it back to looking for freetype.h, whose location changed in
 freetype 2.5.1, so your change works for MacPorts but is not suitable for
 upstream use because it won't work with freetype earlier than 2.5.1.

-- 
Ticket URL: <https://trac.macports.org/ticket/41612#comment:6>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list