Opened 9 years ago

Last modified 9 years ago

#47716 closed defect

revert freetype to old filestructure, for compatibility with ftgl — at Version 1

Reported by: repagh (Rene van Paassen) Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: freetype, ftgl

Description (last modified by mf2k (Frank Schima))

Freetype used to install most header files in

<includedir>/freetype2/freetype

for 2.5.5, this changed to:

<includedir>/freetype2

This creates a conflict when attempting to use ftgl, which depends on freetype; on a case-insensitive mac (as most are), the ftgl FTGlyph.h is confused with freetype's ftglyph.h. For compilation with freetype, the <includedir>/freetype2 dir needs to be in the include path, which makes that all header files there are visible to the compiler.

Attached portfile path reverts to the old install path, and adjusts the <includedir>/freetype2/config/ftheader.h file accordingly.

I also made a bug report for freetyps, no idea whether and when this is taken up.

Change History (2)

Changed 9 years ago by repagh (Rene van Paassen)

Attachment: freetype.diff added

diff for port file

comment:1 Changed 9 years ago by mf2k (Frank Schima)

Cc: ryandesign@… removed
Description: modified (diff)
Keywords: freetype development ftgl removed
Owner: changed from macports-tickets@… to ryandesign@…
Note: See TracTickets for help on using tickets.