Ticket #29154: Portfile.diff
File Portfile.diff, 1.4 KB (added by howarth@…, 14 years ago) |
---|
-
Portfile
old new 1 # $Id: Portfile 7 8275 2011-05-01 11:51:44Z mww@macports.org $1 # $Id: Portfile 75018 2011-01-12 00:32:23Z jmr@macports.org $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name gcc45 6 6 epoch 1 7 7 version 4.5.3 8 revision 1 8 9 platforms darwin 9 10 categories lang 10 11 maintainers mww … … 66 67 67 68 worksrcdir build 68 69 70 patchfiles i386_static.diff 71 patch.dir ${workpath}/gcc-${version} 72 69 73 # the generated compiler doesn't accept -arch 70 74 configure.cc_archflags 71 75 configure.cxx_archflags … … 128 132 ${destroot}${prefix}/share/python/aotcompile-45.py 129 133 file rename ${destroot}${prefix}/share/python/classfile.py \ 130 134 ${destroot}${prefix}/share/python/classfile-45.py 135 if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "i386")} { 136 file copy ${workpath}/gcc-${version}/gcc/config/darwin-sections.def \ 137 ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/${version}/plugin/include/config/darwin-sections.def 138 } 139 131 140 } 132 141 133 142 platform darwin 8 { … … 137 146 platform darwin 10 { 138 147 configure.args-append --enable-fully-dynamic-string 139 148 } 149 platform darwin 11 { 150 configure.args-append --enable-fully-dynamic-string 151 configure.cc clang 152 configure.cxx clang++ 153 } 140 154 141 155 platform powerpc { 142 156 configure.universal_archs ppc ppc64