[46759] trunk/dports/databases/postgresql7/Portfile

Ryan Schmidt ryandesign at macports.org
Thu Feb 12 13:05:38 PST 2009


On Feb 12, 2009, at 06:06, mww at macports.org wrote:

> Revision: 46759
>           http://trac.macports.org/changeset/46759
> Author:   mww at macports.org
> Date:     2009-02-12 04:06:51 -0800 (Thu, 12 Feb 2009)
> Log Message:
> -----------
> version 7.4.24, add warning about Mac OS X Intel incompatibility to  
> long_description

What would you think about adding a ui_warn in the pre-fetch phase to  
print this info? Users could easily miss it in the long description,  
or they might not even read the info, especially if postgresql7 is  
installed as a dependency. I think this should do it:


pre-fetch {
     if {"darwin" == ${os.platform} && "little" != ${os.endian}} {
         ui_warn "${name} does not work well on Mac OS X Intel. Try  
postgresql83 instead."
     }
}


> Modified Paths:
> --------------
>     trunk/dports/databases/postgresql7/Portfile
>
> Modified: trunk/dports/databases/postgresql7/Portfile
> ===================================================================
> --- trunk/dports/databases/postgresql7/Portfile	2009-02-12 11:52:47  
> UTC (rev 46758)
> +++ trunk/dports/databases/postgresql7/Portfile	2009-02-12 12:06:51  
> UTC (rev 46759)
> @@ -3,7 +3,7 @@
>  PortSystem 1.0
>
>  name			postgresql7
> -version			7.4.21
> +version			7.4.24
>  categories		databases
>  platforms		darwin
>  maintainers		mww jwa
> @@ -12,14 +12,16 @@
>  			It supports almost all SQL constructs, including transactions, \
>  			subselects, and user-defined types and functions. Write-ahead \
>  			logging means increased performance while retaining data \
> -			integrity.
> +			integrity. \
> +			This version does not work on Mac OS X Intel!





More information about the macports-dev mailing list