On Jan 1, 2012, at 12:48, Mark Moll wrote: > On Dec 30, 2011, at 11:20 PM, Ryan Schmidt wrote: > >> On Dec 30, 2011, at 23:19, mm...@macports.org wrote: >> >>> Revision: 88407 >>> http://trac.macports.org/changeset/88407 >>> Author: mm...@macports.org >>> Date: 2011-12-30 21:19:34 -0800 (Fri, 30 Dec 2011) >>> Log Message: >>> ----------- >>> lang/gccxml-devel: doesn't compile with clang, so switch to llvm-gcc-4.2 >>> >>> Modified Paths: >>> -------------- >>> trunk/dports/lang/gccxml-devel/Portfile >>> >>> Modified: trunk/dports/lang/gccxml-devel/Portfile >>> =================================================================== >>> --- trunk/dports/lang/gccxml-devel/Portfile 2011-12-31 03:24:24 UTC (rev >>> 88406) >>> +++ trunk/dports/lang/gccxml-devel/Portfile 2011-12-31 05:19:34 UTC (rev >>> 88407) >>> @@ -20,5 +20,8 @@ >>> cvs.date 2010-10-14 >>> cvs.module gccxml >>> worksrcdir gccxml >>> - >>> +checksum {} >>> universal_variant no >>> +if {${configure.compiler} == "clang"} { >>> + configure.compiler llvm-gcc-4.2 >>> + } >> >> But you shouldn't disable the checksum phase. > > > This is a port that uses CVS. I thought there was no checksumming in that > case.
Ah. Well that's true but MacPorts handles it for you. There's no need to manually disable it, and it's simpler (and thus easier for others to understand the portfile) if you don't. Also I was objecting to sneaking this change in with another change and not mentioning it in the commit message. I've undone it in r88420. > With the checksum phase enabled I get this error: > > ---> Checksumming > Error: Target org.macports.checksum returned: does not exist in > /opt/local/var/macports/distfiles/gccxml-devel > DEBUG: Backtrace: does not exist in > /opt/local/var/macports/distfiles/gccxml-devel > while executing > "$procedure $targetname" > Warning: the following items did not execute (for gccxml-devel): > org.macports.activate org.macports.checksum org.macports.extract > org.macports.patch org.macports.configure org.macports.build > org.macports.destroot org.macports.install > Log for gccxml-devel is at: > /opt/local/var/macports/logs/_Users_mmoll_src_macports_dports_lang_gccxml-devel/gccxml-devel/main.log I'm unable to reproduce that. Try: sudo port selfupdate sudo port clean gccxml-devel sudo port checksum gccxml-devel Does it work now? _______________________________________________ macports-dev mailing list macports-dev@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev