[76526] trunk/dports/gis/gdal-grass/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Feb 27 05:54:08 PST 2011

On Feb 27, 2011, at 07:30, vincent habchi wrote:

> Le 27 févr. 2011 à 12:06, Ryan Schmidt a écrit :
>> On Feb 27, 2011, at 02:48, vince at macports.org wrote:
>>> -configure.args-append --with-grass=${prefix}
>>> +configure.args-append --with-grass=${prefix}/share/grass-6.4.0
>> Is there perhaps a way that gdal-grass could ask grass for this directory path, or at least for its version number, rather than hardcoding it? I can't seem to install grass at the moment, but perhaps there is a pkg-config .pc file, or a grass-config script, or perhaps the grass program can be called with a -v or --version flag to have it print its version, which could be used here?
> You are absolutely right. I'll see what can be done. Thanks for your always valuable suggestions.

One example of doing this is in the lpeg port I recently committed:


More information about the macports-dev mailing list