Subject: | Allow environment variables for Makefile.PL arguments |
Hello Ari,
Geo::GDAL is difficult to install using cpanm for most of my use cases, mainly because gdal is installed in local directories or there are minor version mismatches.
The main reason is that Makefile.pl needs arguments to be passed to provide the location of the gdal-config file, and also version checks.
What do you think of adding support for environment variables which can be used in the absence of command line arguments?
For example, --gdal-config could be PERL_GEOGDAL_CONFIG or similar, and --no-version-check PERL_GEOGDAL_NO_VERSION_CHECK.
I can work something up if you agree.
Regards,
Shawn.