# $Id: Portfile 35833 2008-04-07 21:36:27Z ryandesign@macports.org $ PortSystem 1.0 name apple-gcc42 version 5564 categories lang platforms darwin maintainers mww description Apple's version of gcc 4.2 long_description Apple's version of the GNU compiler collection, \ version 4.2. Supports C and Objective-C. homepage http://developer.apple.com/documentation/DeveloperTools/gcc-4.2/gcc/ master_sites http://www.opensource.apple.com/darwinsource/tarballs/other/ distname gcc_42-${version} checksums md5 cc919b07776db1a209ccaa48b0e19da7 set prefix ${prefix} post-extract { file mkdir ${worksrcpath}/debug file mkdir ${workpath}/destroot } post-patch { reinplace "s|MAKEINFO=\$\(MAKEINFO\) \$\(MAKEINFOFLAGS\)|MAKEINFO=makeinfo \$\(MAKEINFOFLAGS\)|" ${worksrcpath}/Makefile.in } use_configure no # This will automatically build gcc 4.2 with c++ and obj-c++ support build.cmd ${worksrcpath}/build_gcc \"[strsed ${configure.universal_archs} "g| |;|"]\" \"[strsed ${configure.universal_archs} "g| |;|"]\" \ ${worksrcpath} ${prefix} ${workpath}/destroot ${worksrcpath}/debug destroot {} destroot.violate_mtree yes livecheck.check moddate livecheck.url ${master_sites}