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

Ryan Schmidt ryandesign at macports.org
Mon Oct 24 22:46:44 PDT 2011


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

> Revision: 86385
>          http://trac.macports.org/changeset/86385
> Author:   ricci at macports.org
> Date:     2011-10-24 21:01:38 -0700 (Mon, 24 Oct 2011)
> Log Message:
> -----------
> Actually fix #31615 by setting compiler on Lion (darwin 11)
> Bump revision as the fix requires rebuilding
> 
> Modified Paths:
> --------------
>    trunk/dports/net/wireshark/Portfile
> 
> Modified: trunk/dports/net/wireshark/Portfile
> ===================================================================
> --- trunk/dports/net/wireshark/Portfile	2011-10-25 03:33:23 UTC (rev 86384)
> +++ trunk/dports/net/wireshark/Portfile	2011-10-25 04:01:38 UTC (rev 86385)
> @@ -3,7 +3,7 @@
> PortSystem 1.0
> name		wireshark
> version		1.6.2
> -revision	0
> +revision	1
> categories	net
> maintainers	darkart.com:opendarwin.org
> description	Graphical network analyzer and capture tool
> @@ -71,9 +71,11 @@
> 	eval xinstall -m 644 [glob ${worksrcpath}/wiretap/*.h] ${destroot}${prefix}/include/wireshark/wiretap/
> }
> 
> -## platform darwin 10 {
> -## 	configure.compiler=llvm-gcc-4.2
> -## }
> +platform darwin 11 {
> +	if {${configure.compiler} == "clang"} {
> +		configure.compiler llvm-gcc-4.2
> +	}
> +}

You should remove the platform darwin 11 wrapper; we're not doing that in other ports. Xcode 4.2, with clang as the default compiler, is available on Darwin 10 as well (for paid members of the developer program) and they would presumably be affected by the issue as well.



More information about the macports-dev mailing list