On Dec 3, 2012, at 12:25, [email protected] wrote:

> Revision: 100205
>          https://trac.macports.org/changeset/100205
> Author:   [email protected]
> Date:     2012-12-03 10:25:54 -0800 (Mon, 03 Dec 2012)
> Log Message:
> -----------
> Add postgresql92 variant (I needed it for testing, sorry for bypassing 
> diplomatic channels)
> 
> Modified Paths:
> --------------
>    trunk/dports/gis/gdal/Portfile
> 
> Modified: trunk/dports/gis/gdal/Portfile
> ===================================================================
> --- trunk/dports/gis/gdal/Portfile    2012-12-03 18:00:04 UTC (rev 100204)
> +++ trunk/dports/gis/gdal/Portfile    2012-12-03 18:25:54 UTC (rev 100205)
> @@ -264,6 +264,12 @@
>     configure.args-append   --with-pg=${prefix}/lib/postgresql91/bin/pg_config
> }
> 
> +variant postgresql92 description {Enable PostgreSQL 9.2 support} {
> +    depends_lib-append      port:postgresql92
> +    configure.args-delete   --without-pg
> +    configure.args-append   
> --with-pg=${prefix}/lib/postgresql92/bin/pg_config
> +}

It should conflict with the existing postgresql variants, and they should 
conflict with it.


_______________________________________________
macports-dev mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to