#47716: revert freetype to old filestructure, for compatibility with ftgl --------------------------------+-------------------------- Reporter: rene.vanpaassen@… | Owner: ryandesign@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Resolution: | Keywords: Port: freetype | --------------------------------+-------------------------- Changes (by mf2k@…): * cc: ryandesign@… (removed) * keywords: freetype development ftgl => * owner: macports-tickets@… => ryandesign@… Old description:
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.
New description: 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. -- -- Ticket URL: <https://trac.macports.org/ticket/47716#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X