Ticket #30542: patch-Portfile-gcc45-dragonegg.diff
File patch-Portfile-gcc45-dragonegg.diff, 2.6 KB (added by Veence (Vincent), 13 years ago) |
---|
-
Portfile
old new 31 31 set djava gcc-java-${version}.tar.bz2 32 32 set dobjc gcc-objc-${version}.tar.bz2 33 33 set ecj ecj-4.5.jar 34 distfiles ${dcore}:gcc ${dfort}:gcc ${dcxx}:gcc ${d java}:gcc ${dobjc}:gcc ${ecj}:ecj35 extract.only ${dcore} ${dfort} ${dcxx} ${d java} ${dobjc}34 distfiles ${dcore}:gcc ${dfort}:gcc ${dcxx}:gcc ${dobjc}:gcc ${ecj}:ecj 35 extract.only ${dcore} ${dfort} ${dcxx} ${dobjc} 36 36 37 37 checksums gcc-core-${version}.tar.bz2 \ 38 38 md5 98be5094b5b5a7b9087494291bc7f522 \ … … 46 46 md5 2c78bf1d5f08a0b116f280de88d3ffe7 \ 47 47 sha1 fde6d16c2d4a2ab21abeaa7dc8e73e22557e8a2d \ 48 48 rmd160 5ef37a35671b475c1f86962dfa796133c80e6549 \ 49 gcc-java-${version}.tar.bz2 \50 md5 08e045fdbdc22ac9af3aec3b8d16dbab \51 sha1 b71c66e4291944e35e6f6ed300ab62f09bdf2219 \52 rmd160 ea26f35b8dd821585e2c9081730ac72c860def8b \53 49 gcc-objc-${version}.tar.bz2 \ 54 50 md5 9bb53e37e589515ba55979a19be9c036 \ 55 51 sha1 ef3cb3d8b6d5cecf3adceeae7c6bb1426b74bf8a \ … … 86 82 } 87 83 88 84 configure.cmd ../gcc-${version}/configure 89 configure.args --enable-languages=c,c++,objc,obj-c++,fortran ,java\85 configure.args --enable-languages=c,c++,objc,obj-c++,fortran \ 90 86 --libdir=${prefix}/lib/${name} \ 91 87 --includedir=${prefix}/include/${name} \ 92 88 --infodir=${prefix}/share/info \ 93 89 --mandir=${prefix}/share/man \ 94 90 --datarootdir=${prefix}/share/gcc-${major} \ 95 91 --with-local-prefix=${prefix} \ 96 92 --with-system-zlib \ 97 93 --disable-nls \ … … 102 98 --with-mpc=${prefix} \ 103 99 --enable-stage1-checking \ 104 100 --disable-multilib 101 102 variant plugin description {Enable plug-in for e.g. dragonegg} { 103 configure.args-append --enable-lto \ 104 --enable-plugin 105 } 106 105 107 # do NOT use MacPorts binutils -- they do not work 106 108 configure.env-append AR_FOR_TARGET=/usr/bin/ar \ 107 109 AS_FOR_TARGET=/usr/bin/as \ … … 132 134 ${destroot}${prefix}/share/python/aotcompile-45.py 133 135 file rename ${destroot}${prefix}/share/python/classfile.py \ 134 136 ${destroot}${prefix}/share/python/classfile-45.py 137 138 if {[variant_isset plugin]} { 139 xinstall -m 755 \ 140 ${workpath}/gcc-${version}/gcc/config/darwin-sections.def \ ${destroot}${prefix}/lib/${name}/gcc/${build_arch}-apple-darwin${os.major}/${version}/plugin/include/config 141 } 135 142 } 136 143 137 144 select.group gcc