[MacPorts] #41569: cmake: FindFreetype.cmake doesn't work properly after upgrading to FreeType 2.5.1
MacPorts
noreply at macports.org
Wed Nov 27 03:58:25 PST 2013
#41569: cmake: FindFreetype.cmake doesn't work properly after upgrading to FreeType
2.5.1
---------------------+-----------------------------------
Reporter: mojca@… | Owner: macports-tickets@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: | Port: cmake, freetype, root
---------------------+-----------------------------------
In the light of Ryan's comment about FreeType (#41567), we seem to have a
problem in CMake now, so I'm unable to proceed testing CMake-based
installation of Root.
The file contains:
{{{
if(FREETYPE_INCLUDE_DIR_freetype2 AND EXISTS
"${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h")
file(STRINGS "${FREETYPE_INCLUDE_DIR_freetype2}/freetype/freetype.h"
freetype_version_str
REGEX "^#[\t ]*define[\t ]+FREETYPE_(MAJOR|MINOR|PATCH)[\t
]+[0-9]+$")
}}}
and the three relevant variables are automatically being set to the
following values
{{{
FREETYPE_INCLUDE_DIR_freetype2 */usr/X11R6/include/freetype2
FREETYPE_INCLUDE_DIR_ft2build */usr/X11R6/include
FREETYPE_LIBRARY */usr/X11R6/lib/libfreetype.dylib
}}}
I tried setting all possible combinations of variables that came to my
mind, but I was unable to point Root to the right version of FreeType.
--
Ticket URL: <https://trac.macports.org/ticket/41569>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list