Ticket #49227: Portfile.diff
File Portfile.diff, 2.8 KB (added by howarth.at.macports@…, 8 years ago) |
---|
-
Portfile
old new 10 10 11 11 epoch 2 12 12 version 5.3.0 13 revision 1 13 14 platforms darwin 14 15 categories lang 15 16 maintainers mww openmaintainer … … 24 25 ftp://ftp.gwdg.de/pub/linux/gcc/releases/gcc-${version}/ \ 25 26 ftp://gcc.ftp.nluug.nl/mirror/languages/gcc/releases/gcc-${version}/ \ 26 27 ftp://gcc.gnu.org/pub/gcc/releases/gcc-${version}/ \ 27 gnu:gcc/gcc-${version} 28 gnu:gcc/gcc-${version} \ 29 ftp://sourceware.org/pub/java/ 28 30 29 31 distname gcc-${version} 30 32 use_bzip2 yes 31 33 32 checksums rmd160 b06fec59ceb37aeb042bdb9e1703e53d0834d085 \ 33 sha256 b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db 34 distfiles gcc-${version}.tar.bz2 \ 35 ecj-4.9.jar 36 37 checksums gcc-${version}.tar.bz2 \ 38 rmd160 b06fec59ceb37aeb042bdb9e1703e53d0834d085 \ 39 sha256 b84f5592e9218b73dbae612b5253035a7b34a9a1f7688d2e1bfaaf7267d5c4db \ 40 ecj-4.9.jar \ 41 rmd160 eb1b19d9ac0e9e265bf993f38b9576e3c710e91e \ 42 sha256 9506e75b862f782213df61af67338eb7a23c35ff425d328affc65585477d34cd 34 43 35 44 depends_lib port:cctools \ 36 45 port:gmp \ … … 48 57 # <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63810>). 49 58 patchfiles-append macosx-version-min.patch 50 59 60 # Provide linkage for MacPorts libiconv in gcj 61 patchfiles-append gcj-libiconv-linkage.patch 62 63 extract.only gcc-${version}.tar.bz2 64 51 65 set major [lindex [split ${version} .-] 0] 52 66 53 67 platform darwin { 68 if {${os.major} > 14} { 69 # Hack around boehm-gc and associated gcj failures from recompilation 70 # of libunwind.dylib with Apple Clang 7.0 in El Capitan by reducing 71 # alignment to 2 72 patchfiles-append boehm-gc-darwin15-hack.patch 73 } 54 74 configure.pre_args-append --build=${build_arch}-apple-darwin${os.major} 55 75 } 56 76 … … 67 87 --disable-nls \ 68 88 --program-suffix=-mp-${major} \ 69 89 --with-gxx-include-dir=${prefix}/include/${name}/c++/ \ 90 --with-libiconv-prefix=${prefix} \ 70 91 --with-gmp=${prefix} \ 71 92 --with-mpfr=${prefix} \ 72 93 --with-mpc=${prefix} \ … … 91 112 OTOOL=${prefix}/bin/otool \ 92 113 OTOOL64=${prefix}/bin/otool 93 114 115 post-extract { 116 copy ${distpath}/ecj-4.9.jar ${worksrcpath}/ecj.jar 117 } 118 94 119 pre-configure { 95 120 configure.args-append --with-pkgversion="MacPorts ${name} ${version}_${revision}${portvariants}" 96 121