On Dec 9, 2007, at 2:13 AM, Ryan Schmidt wrote:
On Dec 8, 2007, at 20:10, Tim Jones wrote:
First time posting to this list. I am sure this question is frequently asked here, but I haven't found it in the FAQ or archives.
What should I do if I want to install a MacPorts package using configure options that are not covered by any of the package's included variants?
For instance: I'm trying to install GDAL with MySQL support. If I was doing an ordinary non-MacPorts installation, I'd just extract the GDAL tarball and run "./configure" with the "–with-mysql=/path/ to/mysql_config" flag. Then make install etc.
But MacPorts' GDAL package doesnt include an option for this.
So, I'm not sure if there is a special flag I can add to my "port install" command, or if I can/should edit GDAL's portfile before installing, or if I am asking for the impossible and ought to find a way to install this package without using MacPorts, or something else.
This sounds like a good candidate for adding a mysql5 variant, for example, to the gdal portfile. You could file an enhancement request in the issue tracker. (I don't see one filed already.) Instructions for filing tickets are here:
http://trac.macosforge.org/projects/macports/wiki/TracTicketing
And if you can't wait for the maintainer (or want to be very helpful and supply a patch) you can edit the portfile (or create your own portfile based on the one distributed by macports). Read through the guide - http://geeklair.net/macports_guide/ for info. -- Daniel J. Luke +========================================================+ | *---------------- dluke@geeklair.net ----------------* | | *-------------- http://www.geeklair.net -------------* | +========================================================+ | Opinions expressed are mine and do not necessarily | | reflect the opinions of my employer. | +========================================================+