[86264] trunk/dports/net/wireshark/Portfile

Ryan Schmidt ryandesign at macports.org
Mon Oct 24 03:12:43 PDT 2011


On Oct 23, 2011, at 23:46, ricci at macports.org wrote:

> Revision: 86264
>         http://trac.macports.org/changeset/86264
> Author:   ricci at macports.org
> Date:     2011-10-23 21:46:34 -0700 (Sun, 23 Oct 2011)
> Log Message:
> -----------
> wireshark:
> 	on Lion (platform darwin 10), use llvm-gcc-4.2 as the compiler
> 	resolves #31615 (wireshark crashing w/ SIGSEGV)
> 
> Modified Paths:
> --------------
>   trunk/dports/net/wireshark/Portfile
> 
> Modified: trunk/dports/net/wireshark/Portfile
> ===================================================================
> --- trunk/dports/net/wireshark/Portfile	2011-10-24 03:38:52 UTC (rev 86263)
> +++ trunk/dports/net/wireshark/Portfile	2011-10-24 04:46:34 UTC (rev 86264)
> @@ -71,6 +71,10 @@
> 	eval xinstall -m 644 [glob ${worksrcpath}/wiretap/*.h] ${destroot}${prefix}/include/wireshark/wiretap/
> }
> 
> +platform darwin 10 {
> +	configure.compiler=llvm-gcc-4.2
> +}

Lion is darwin 11, not 10.

The correct way to ask for a different compiler is documented here:

https://trac.macports.org/wiki/PortfileRecipes#compiler





More information about the macports-dev mailing list