[138234] trunk/dports/databases
Ryan Schmidt
ryandesign at macports.org
Sun Jul 5 01:21:26 PDT 2015
> On Jul 2, 2015, at 2:45 PM, jwa at macports.org wrote:
>
> Revision
> 138234
> Author
> jwa at macports.org
> Date
> 2015-07-02 12:45:46 -0700 (Thu, 02 Jul 2015)
> Log Message
>
> postgresql95: first alpha release os PostgreSQL 9.5 (Portfiles copied and modified from previous version), contrib modules adjustments according to variants
> Modified: trunk/dports/databases/postgresql95/Portfile (137988 => 138234)
>
> --- trunk/dports/databases/postgresql94/Portfile 2015-06-24 10:21:08 UTC (rev 137988)
> +++ trunk/dports/databases/postgresql95/Portfile 2015-07-02 19:45:46 UTC (rev 138234)
> @@ -91,6 +91,14 @@
> post-build {
> # remove a Linux-specific contrib before continuing
> file delete -force ${worksrcpath}/contrib/sepgsql
> +# remove perl-specific contrib, if no perl variant
> + if {![variant_isset perl]} {
> + file delete -force ${worksrcpath}/contrib/hstore_plperl
> + }
> +# remove python-specific contrib, if no python27 variant
> + if {![variant_isset python27]} {
> + file delete -force ${worksrcpath}/contrib/hstore_plpython
> + }
Note that you could just write "delete", which is a MacPorts alias for "file delete -force" which is more succinct.
More information about the macports-dev
mailing list