Opened 13 years ago
Closed 12 years ago
#34033 closed enhancement (fixed)
map server @6.0.2 update add +postgis
Reported by: | jeabraham | Owned by: | mbarchfe@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | haspatch | Cc: | |
Port: | mapserver |
Description
Mapserver was not compiling for me, so I tried the latest version. There is a mapserver bug that I had to patch, and I added PostGIS support.
It shouldn't be dependent on a particular version of postgresql, but I don't know how to select a version in the variant/dependencies.
Attachments (4)
Change History (8)
Changed 13 years ago by jeabraham
Changed 13 years ago by jeabraham
Attachment: | patch-renderers-agg-include-agg_renderer_outline_aa.h.diff added |
---|
Patch file for a bug in mapserver
Changed 13 years ago by mf2k (Frank Schima)
comment:1 Changed 13 years ago by mf2k (Frank Schima)
Keywords: | haspatch added |
---|---|
Owner: | changed from macports-tickets@… to mbarchfe@… |
Type: | update → enhancement |
Version: | 2.0.4 |
In the future, please don't forget to Cc the maintainer(s).
Please name your patch like foo.diff so Trac recognizes it. Also, do not change the # $Id: line.
The postgis port has postgresql variants. So if, for example, it was built with postgresql90, then this wouldn't work. I suggest you make all the postgresql* variants like the postgis port.
comment:2 follow-up: 3 Changed 13 years ago by jeabraham
Thanks for the clues. This is my first port submission that I did all by myself so thanks for pointing out my beginner mistakes.
The postgis port has postgresql variants. So if, for example, it was built with postgresql90, then this wouldn't work. I suggest you make all the postgresql* variants like the postgis port.
Hmm, the postgis variant should automatically use the most up-to-date installed postgresql, if I knew how to query ports to figure out what was installed (along the lines of:
postgresqlinstalled = {somehow query ports to figure out the most recent variant installed)
) there are two lines in the Portfile that could be adjusted:
depends_lib-append port:postgresql{postgresqlinstalled} configure.args-append --with-postgis=${prefix}/lib/postgresql{postgresqlinstalled}/bin/pg_config
-- John Abraham jea@…
comment:3 Changed 12 years ago by tbonfort (Thomas Bonfort)
Replying to jea@…:
Thanks for the clues. This is my first port submission that I did all by myself so thanks for pointing out my beginner mistakes.
The postgis port has postgresql variants. So if, for example, it was built with postgresql90, then this wouldn't work. I suggest you make all the postgresql* variants like the postgis port.
Hmm, the postgis variant should automatically use the most up-to-date installed postgresql, if I knew how to query ports to figure out what was installed (along the lines of:
postgresqlinstalled = {somehow query ports to figure out the most recent variant installed)) there are two lines in the Portfile that could be adjusted:
depends_lib-append port:postgresql{postgresqlinstalled} configure.args-append --with-postgis=${prefix}/lib/postgresql{postgresqlinstalled}/bin/pg_config-- John Abraham jea@…
#30250 contains an updated portfile which attempts to use an installed postgres version
comment:4 Changed 12 years ago by anddam (Andrea D'Amore)
Resolution: | → fixed |
---|---|
Status: | new → closed |
New portfile