[76526] trunk/dports/gis/gdal-grass/Portfile
vincent habchi
vince at macports.org
Sun Feb 27 05:30:38 PST 2011
Le 27 févr. 2011 à 12:06, Ryan Schmidt <ryandesign at macports.org> a écrit :
>
> On Feb 27, 2011, at 02:48, vince at macports.org wrote:
>
>> Revision: 76526
>> http://trac.macports.org/changeset/76526
>> Author: vince at macports.org
>> Date: 2011-02-27 00:48:20 -0800 (Sun, 27 Feb 2011)
>> Log Message:
>> -----------
>> Updates for grass 6.4.0 (latest version)
>>
>> Modified Paths:
>> --------------
>> trunk/dports/gis/gdal-grass/Portfile
>
>
>> -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.
V.
More information about the macports-dev
mailing list