On Wed, Nov 23, 2011 at 12:04 PM, Daniel Bolgheroni <[email protected]> wrote:
> On Wed, Nov 23, 2011 at 09:28:24AM +0100, David Coppa wrote:
>> On Tue, Nov 22, 2011 at 8:21 PM, Daniel Bolgheroni <[email protected]>
>> wrote:
>> > Hi ports@,
>> >
>> > does anyone have some experience in cmake to help me with it? I'm
>> > working on a port, however I'm having the following problem.
>>
>> What port is this?
>
> Working on a port of openModeller, which uses cmake.
>
> http://openmodeller.sourceforge.net
>
>> I think it's using a local FindGDAL.cmake, since the system one from
>> /usr/local/share/cmake/Modules/FindGDAL.cmake is working fine:
>>
>> -- Found GDAL: /usr/local/lib/libgdal.so.17.0
>>
>> Check for this and let me know...
>
> Right to the point.
Simply remove the local FindGDAL.cmake using the "pre-configure" stage:
pre-configure:
@rm -f ${WRKSRC}/path/to/FindGDAL.cmake
> Thank you.
You're welcome
ciao,
David