[MacPorts] #34033: map server @6.0.2 update add +postgis
MacPorts
noreply at macports.org
Mon Jul 30 03:43:02 PDT 2012
#34033: map server @6.0.2 update add +postgis
-------------------------------+--------------------------------------------
Reporter: jea@… | Owner: mbarchfe@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: mapserver
-------------------------------+--------------------------------------------
Comment(by thomas.bonfort@…):
Replying to [comment:2 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 at hbaspecto.com
#30250 contains an updated portfile which attempts to use an installed
postgres version
--
Ticket URL: <https://trac.macports.org/ticket/34033#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list