[MacPorts] #41593: freetype: many ports fail to build due to change in include path structure

MacPorts noreply at macports.org
Thu Nov 28 17:16:23 PST 2013


#41593: freetype: many ports fail to build due to change in include path structure
----------------------+--------------------------
 Reporter:  devans@…  |      Owner:  ryandesign@…
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:  2.2.1
 Keywords:            |       Port:  freetype
----------------------+--------------------------
 I know this might be considered a duplicate but I'm hoping to get some
 clarification on this issue before doing wholesale changes to ports.

 With the update to freetype 2.5.1, the include file path structure has
 changed from
 {{{
 /opt/local/include/freetype2/freetype/freetype.h
 }}}
 to just
 {{{
 /opt/local/include/freetype2/freetype.h
 }}}

 Many ports that reference freetype header files use something like


 {{{
 #include <freetype/freetype.h>
 #include <freetype/tttables.h>
 }}}

 After the change, these are broken due to the removal of the freetype path
 element.
 Example ports that I saw today are gimp2, webkit-gtk3 and probably many
 more.

 So is this change intentional and the various ports need to change to
 {{{
 #include <freetype2/freetype.h>
 #include <freetype2/tttables.h>

 }}}

 or something else or is this a probem that should be fixed in freetype?

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


More information about the macports-tickets mailing list