Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Feb 2011 14:42:02 -0200
From:      Raphael Kubo da Costa <kubito@gmail.com>
To:        freebsd-ports@freebsd.org
Subject:   Re: cmake and Freetype strangeness
Message-ID:  <87pqr515et.fsf@gmail.com>
References:  <AANLkTi=wo-tgBk83eWgNLUuC%2BirrQ5v05O8JzDTjnMDn@mail.gmail.com> <AANLkTin_MHjgL8P16dmNjjfP0SJqu7SiJnwgu2egZB_F@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Chris Rees <utisoft@gmail.com> writes:

> On 31 January 2011 18:06, Chris Rees <utisoft@gmail.com> wrote:
>> Hi all,
>>
>> I'm trying (still) to make a port for projectM.
>>
>> The one I've made works fine on my production system, but when I put
>> it on my test system which has no ports installed, it throws a
>> tantrum.
>>
>> I've added the depends:
>>
>> LIB_DEPENDS=    ftgl:${PORTSDIR}/graphics/ftgl \
>>                GLEW:${PORTSDIR}/graphics/glew \
>>                freetype:${PORTSDIR}/print/freetype2
>>
>> which should be enough, according to the cmake error, but it still happens!
>>
>> Why can't cmake find Freetype???
>>
>
>
> Found out, it was looking in /usr/X11R6 but not /usr/local. My test
> system is too new to have the X11R6 symlink, so failure.
>
> Patched!

Just as a sidenote (for the sake of the mailing list's posterity ;), it
should be clear that this is a problem with projectM shipping its own
version of FindFreetype2.cmake which uses find_library() and find_path()
with NO_DEFAULT_PATH. Any adjustments should not be necessary anymore in
case projectM drops its own FindFreetype.cmake in the future and starts
using CMake's FindFreetype.cmake :)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87pqr515et.fsf>