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

Eric Hall opendarwin.org at darkart.com
Mon Oct 24 09:22:07 PDT 2011


On Sun, Oct 23, 2011 at 11:54:29PM -0500, Ryan Schmidt wrote:
> 
> 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.

	Bah, serves me right for editing the portfile on SL
to test on Lion (and when tired so when the little "that seems
funny" bell goes off I don't pay attention to it).

> 
> The correct way to ask for a different compiler is documented here:
> 
> https://trac.macports.org/wiki/PortfileRecipes#compiler
> 
	I'll read up on that and see if I can get it to work right.



		-eric



More information about the macports-dev mailing list