| 1 | 1c1 |
|---|
| 2 | < # $Id: Portfile 61918 2009-12-24 01:41:39Z jmr@macports.org $ |
|---|
| 3 | --- |
|---|
| 4 | > # $Id$ |
|---|
| 5 | 5c5 |
|---|
| 6 | < version 2.16.1 |
|---|
| 7 | --- |
|---|
| 8 | > version 2.20 |
|---|
| 9 | 17c17,19 |
|---|
| 10 | < master_sites gnu:binutils |
|---|
| 11 | --- |
|---|
| 12 | > master_sites http://ftp.gnu.org/gnu/binutils/ \ |
|---|
| 13 | > ftp://ftp.kernel.org/pub/linux/devel/binutils/ \ |
|---|
| 14 | > http://ftp.kernel.org/pub/linux/devel/binutils/ |
|---|
| 15 | 20,22c22,26 |
|---|
| 16 | < checksums md5 6a9d529efb285071dad10e1f3d2b2967 \ |
|---|
| 17 | < sha1 5c80fd5657da47efc16a63fdd93ef7395319fbbf \ |
|---|
| 18 | < rmd160 638861a6b709ac380f1bc13d55c6b48d0532b3d0 |
|---|
| 19 | --- |
|---|
| 20 | > checksums md5 ee2d3e996e9a2d669808713360fa96f8 \ |
|---|
| 21 | > sha1 747e7b4d94bce46587236dc5f428e5b412a590dc \ |
|---|
| 22 | > rmd160 284074e2453e517d036ffce2c0f3d56439e2e5c0 |
|---|
| 23 | > |
|---|
| 24 | > depends_lib port:gettext |
|---|
| 25 | 30,59d33 |
|---|
| 26 | < # Patches |
|---|
| 27 | < patchfiles patch-bfd-Makefile.am.diff \ |
|---|
| 28 | < patch-bfd-Makefile.in.diff \ |
|---|
| 29 | < patch-bfd-coff-avr.c.diff \ |
|---|
| 30 | < patch-bfd-coff-ext-avr.c.diff \ |
|---|
| 31 | < patch-bfd-coffcode.h.diff \ |
|---|
| 32 | < patch-bfd-coffgen.c.diff \ |
|---|
| 33 | < patch-bfd-coffswap.h.diff \ |
|---|
| 34 | < patch-bfd-config.bfd.diff \ |
|---|
| 35 | < patch-bfd-configure.diff \ |
|---|
| 36 | < patch-bfd-configure.in.diff \ |
|---|
| 37 | < patch-bfd-targets.c.diff \ |
|---|
| 38 | < patch-binutils-Makefile.am.diff \ |
|---|
| 39 | < patch-binutils-Makefile.in.diff \ |
|---|
| 40 | < patch-binutils-bucomm.c.diff \ |
|---|
| 41 | < patch-binutils-bucomm.h.diff \ |
|---|
| 42 | < patch-binutils-budbg.h.diff \ |
|---|
| 43 | < patch-binutils-debug.c.diff \ |
|---|
| 44 | < patch-binutils-debug.h.diff \ |
|---|
| 45 | < patch-binutils-doc-objcopy.1.diff \ |
|---|
| 46 | < patch-binutils-objcopy.c.diff \ |
|---|
| 47 | < patch-binutils-rdcoff.c.diff \ |
|---|
| 48 | < patch-binutils-wrcoff.c.diff \ |
|---|
| 49 | < patch-gas-config-tc-avr.c.diff \ |
|---|
| 50 | < patch-include-coff-avr.h.diff \ |
|---|
| 51 | < patch-include-coff-internal.h.diff \ |
|---|
| 52 | < patch-include-opcode-avr.h.diff \ |
|---|
| 53 | < patch-libiberty-Makefile.diff \ |
|---|
| 54 | < patch-opcodes-Makefile.diff |
|---|
| 55 | < |
|---|
| 56 | 64,69c38,51 |
|---|
| 57 | < configure.cc "cc -no-cpp-precomp" |
|---|
| 58 | < configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \ |
|---|
| 59 | < --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' |
|---|
| 60 | < if {$build_arch != "" && ${os.platform} == "darwin"} { |
|---|
| 61 | < configure.args-append --build=${build_arch}-apple-darwin${os.major} \ |
|---|
| 62 | < --host=${build_arch}-apple-darwin${os.major} |
|---|
| 63 | --- |
|---|
| 64 | > configure.cc "cc -no-cpp-precomp" |
|---|
| 65 | > |
|---|
| 66 | > # using --disable-werror because of |
|---|
| 67 | > # "strings.c:419: warning: 'stat64' is deprecated (declared at /usr/include/sys/stat.h:465)" |
|---|
| 68 | > # don't know how to fix this proper... |
|---|
| 69 | > configure.args --disable-werror \ |
|---|
| 70 | > --infodir='${prefix}/share/info' \ |
|---|
| 71 | > --target=${crossgcc-target} \ |
|---|
| 72 | > --program-prefix=${crossgcc-target}- \ |
|---|
| 73 | > --mandir='${prefix}/share/man' |
|---|
| 74 | > |
|---|
| 75 | > if {$build_arch != "" && ${os.platform} == "darwin"} { |
|---|
| 76 | > configure.args-append --build=${build_arch}-apple-darwin${os.major} \ |
|---|
| 77 | > --host=${build_arch}-apple-darwin${os.major} |
|---|
| 78 | 70a53 |
|---|
| 79 | > |
|---|
| 80 | 162,168d144 |
|---|
| 81 | < |
|---|
| 82 | < # livecheck. |
|---|
| 83 | < # This release is equivalent to FreeBSD 2.16.1_5 |
|---|
| 84 | < # It doesn't make much sense to compare to binutils release. |
|---|
| 85 | < livecheck.regex ">$name-(.*?)<" |
|---|
| 86 | < livecheck.url "http://www.freebsd.org/cgi/ports.cgi?query=${name}&stype=all" |
|---|
| 87 | < livecheck.version 2.16.1_5 |
|---|