Falling back on llvm-gcc just based on the OS version is not the right approach. Please make that logic based on the current compiler.
Why doesn't clang work for this port? I'm unable to fetch this port in order to investigate, so please fix fetch. --Jeremy On Nov 16, 2011, at 10:22 AM, [email protected] wrote: > Revision: 87293 > http://trac.macports.org/changeset/87293 > Author: [email protected] > Date: 2011-11-16 10:22:25 -0800 (Wed, 16 Nov 2011) > Log Message: > ----------- > version bump to 10.05.5, adding 10.7 compiler setting > > Modified Paths: > -------------- > trunk/dports/devel/midgard2-core/Portfile > > Modified: trunk/dports/devel/midgard2-core/Portfile > =================================================================== > --- trunk/dports/devel/midgard2-core/Portfile 2011-11-16 18:10:11 UTC (rev > 87292) > +++ trunk/dports/devel/midgard2-core/Portfile 2011-11-16 18:22:25 UTC (rev > 87293) > @@ -5,7 +5,7 @@ > name midgard2-core > conflicts midgard-core > > -version 10.05.4 > +version 10.05.5 > > categories devel > maintainers jwa > @@ -15,12 +15,11 @@ > platforms darwin > homepage http://www.midgard-project.org/ > > -master_sites > http://www.midgard-project.org/midcom-serveattachmentguid-b459b3e443f711e0a6353dc3bca0241a241a/ > +master_sites > http://www.midgard-project.org/midcom-serveattachmentguid-1442efbe056311e18736bfa1be6458fc58fc/ > > #use_bzip2 yes > -checksums md5 99dcf5d5e39901712a882598e3da17d2 \ > - sha1 bffec5e07bb6235e9678c1dbfea2ca0914c63b57 \ > - rmd160 efd8b6ff8c0e4cda2e656d6a03ecca6c3af93e64 > +checksums rmd160 257914fd7df58c9d90c3634326d429101108f9cf \ > + sha256 > 7f99dfbef6ba98975392b6aeb1ae8bec47c26588b565f1d6e03e5a4ca10cc380 > > depends_build port:pkgconfig > > @@ -33,6 +32,10 @@ > configure.args --sysconfdir=${prefix}/etc/midgard/ \ > --with-dbus-support > > +platform darwin 11 { > + configure.compiler llvm-gcc-4.2 > +} > + > post-install { > ui_msg "NB! The other parts of the package are:" > ui_msg "php5-midgard2, and python bindings for 2.5/2.6" > _______________________________________________ > macports-changes mailing list > [email protected] > http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes _______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
