[26400] trunk/dports/math/GiNaC/Portfile

Chris Pickel sfiera at macports.org
Wed Jun 20 23:20:17 PDT 2007


On 21 Jun, 2007, at 01:58, source_changes at macosforge.org wrote:
>  depends_lib	port:readline	\
>  		port:cln
>
> +platform darwin 6 {
> +		ui_msg "GiNaC is not supported on Jaguar (OS X 10.2.x)."
> +		exit 1
> +}
> +
>  platform darwin 7 {
> -		depends_build	port:gcc40
> -
> -		configure.env	CXX=g++-dp-4.0			\
> -				CPPFLAGS=-I${prefix}/include	\
> -				LDFLAGS=-L${prefix}/lib
> +		ui_msg "GiNaC is not supported on Panther (OS X 10.3.x)."
> +		exit 1
>  }
>
>  platform darwin 8 {

Hi, shouldn't these sorts of messages be in pre-fetch? Placing them  
in the platform statement will still cause non-installing statements  
(e.g. `port info GiNaC`, `port echo maintainer:gwright at macports.org`)  
to fail on Panther.

As an example, take a look at fusefs [1]. In this portfile, the  
platform check is deferred until pre-fetch, thereby ensuring that  
users will only get complaints if they're actually trying to install  
the port.


Chris

[1] http://trac.macosforge.org/projects/macports/browser/trunk/dports/ 
fuse/fusefs/Portfile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : http://lists.macosforge.org/pipermail/macports-dev/attachments/20070621/fce50383/PGP.bin


More information about the macports-dev mailing list