sphinx-0.98 Include support for PostgreSQL 8.3
Reported by: |
steve@… |
Owned by: |
brett@… |
Priority:
|
Normal
|
Milestone:
|
|
Component:
|
ports
|
Version:
|
1.6.0
|
Keywords:
|
|
Cc:
|
|
Port:
|
|
|
|
The portfile for the Sphinx search engine has a variant for "postgres" -- but the dependencies within that variant point to postgresql82, the older version. Sphinx works with PostgreSQL 8.3, but simply overriding the "postgres" variant and forcing an upgrade may have unfortunate effects for people running 8.2 database who don't wish to take on the upgrade process.
Attached is a patch for the portfile that adds a "postgresql83" option. I've also fixed a typo and added a dependency on the main line for mysql5. (I'm not using MySQL at all, and my build was failing rather than installing it.) I believe that making MySQL optional would be even better, but would require more testing, and I didn't want to screw with this portfile any more than strictly necessary.
Patchfile