Ticket #49227: gcc5.5.0-java.diff
File gcc5.5.0-java.diff, 2.7 KB (added by nortcele, 7 years ago) |
---|
-
Portfile
old new 22 22 ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ \ 23 23 ftp://gcc.ftp.nluug.nl/mirror/languages/gcc/releases/gcc-${version}/ \ 24 24 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/ \ 25 gnu:gcc/gcc-${version} 25 gnu:gcc/gcc-${version} \ 26 ftp://sourceware.org/pub/java/:ecj \ 27 http://mirrors.kernel.org/sources.redhat.com/java/:ecj \ 28 http://www.mirrorservice.org/sites/sources.redhat.com/pub/java/:ecj \ 29 http://ftp-stud.fht-esslingen.de/pub/Mirrors/sourceware.org/java/:ecj 30 31 set ecj ecj-4.9.jar 26 32 27 33 distname gcc-${version} 28 34 use_xz yes 29 35 30 checksums rmd160 63fdc006c2289f81df664d1fd9b4124f71732e7b \ 31 sha256 530cea139d82fe542b358961130c69cfde8b3d14556370b65823d2f91f0ced87 36 distfiles ${distname}${extract.suffix}:gcc \ 37 ${ecj}:ecj 38 39 extract.only ${distname}${extract.suffix} 40 41 checksums ${distname}${extract.suffix} \ 42 rmd160 63fdc006c2289f81df664d1fd9b4124f71732e7b \ 43 sha256 530cea139d82fe542b358961130c69cfde8b3d14556370b65823d2f91f0ced87 \ 44 ${ecj} \ 45 rmd160 eb1b19d9ac0e9e265bf993f38b9576e3c710e91e \ 46 sha256 9506e75b862f782213df61af67338eb7a23c35ff425d328affc65585477d34cd 32 47 33 48 depends_lib port:cctools \ 34 49 port:gmp \ … … 44 59 depends_skip_archcheck-append gcc_select ld64 cctools 45 60 license_noconflict gmp mpfr ppl libmpc 46 61 62 # Provide linkage for MacPorts libiconv in gcj 63 patchfiles-append gcj-libiconv-linkage.patch 64 47 65 set major [lindex [split ${version} .-] 0] 48 66 67 post-extract { 68 copy ${distpath}/${ecj} ${worksrcpath}/ecj.jar 69 } 70 49 71 platform darwin { 72 if {${os.major} > 14} { 73 # Hack around boehm-gc and associated gcj failures from recompilation 74 # of libunwind.dylib with Apple Clang in macOS > 10.11 by reducing 75 # alignment to 2 76 patchfiles-append boehm-gc-darwin15-hack.patch 77 } 50 78 configure.pre_args-append --build=${build_arch}-apple-darwin${os.major} 51 79 } 52 80 … … 63 91 --disable-nls \ 64 92 --program-suffix=-mp-${major} \ 65 93 --with-gxx-include-dir=${prefix}/include/${name}/c++/ \ 94 --with-libiconv-prefix=${prefix} \ 66 95 --with-gmp=${prefix} \ 67 96 --with-mpfr=${prefix} \ 68 97 --with-mpc=${prefix} \