Ticket #24439: arm-rtems-binutils_Portfile.patch
File arm-rtems-binutils_Portfile.patch, 3.1 KB (added by jmgc, 15 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 5 5 name arm-rtems-binutils 6 version 2.1 86 version 2.19 7 7 8 8 # Parameters for this port. 9 set crossgcc-target arm-rtems 9 set crossgcc-target arm-rtems4.9 10 10 set rtemsversion 4.9 11 11 12 12 description FSF Binutils for arm-rtems cross development … … 18 18 homepage http://www.gnu.org/software/binutils/binutils.html 19 19 master_sites gnu:binutils:binutils \ 20 20 http://www.rtems.com/ftp/pub/rtems/SOURCES/${rtemsversion}/:rtems \ 21 ftp://ftp.rtems.com/pub/rtems/SOURCES/${rtemsversion}/:rtems \22 macports:pguyot:rtems21 ftp://ftp.rtems.com/pub/rtems/SOURCES/${rtemsversion}/:rtems 22 # macports:pguyot:rtems 23 23 distname binutils-${version} 24 24 distfiles binutils-${version}.tar.bz2:binutils 25 25 use_bzip2 yes 26 checksums md5 e26e2e06b6e4bf3acf1dc8688a94c0d1 \27 sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \28 rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f26 checksums md5 d77d29112c515b405d6f386ac2ea818a 27 # sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \ 28 # rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f 29 29 checksums binutils-${version}.tar.bz2 \ 30 md5 9d22ee4dafa3a194457caf4706f9cf01 \31 sha1 fdec92e9dfc6c32155869f3910f47041c78e2277 \32 rmd160 78d07475667c55ecbf9068dbb90362a3445b2a99 \33 binutils-${version}-rtems${rtemsversion}-20080211.diff \34 md5 5417bb3ff14da49c87c05a881a405166 \35 sha1 ddc5236c3c627596df2426b78c770ae958fbb4c7 \36 rmd160 73c6a64b322fcd35ff13a0254b416dce19428c8b37 patchfiles binutils-${version}-rtems${rtemsversion}-20080211.diff:rtems38 patch.pre_args -p130 md5 17a52219dee5a76c1a9d9b0bfd337d66 31 # sha1 fdec92e9dfc6c32155869f3910f47041c78e2277 \ 32 # rmd160 78d07475667c55ecbf9068dbb90362a3445b2a99 \ 33 # binutils-${version}-rtems${rtemsversion}-20080211.diff \ 34 # md5 5417bb3ff14da49c87c05a881a405166 \ 35 # sha1 ddc5236c3c627596df2426b78c770ae958fbb4c7 \ 36 # rmd160 73c6a64b322fcd35ff13a0254b416dce19428c8b 37 #patchfiles binutils-${version}-rtems${rtemsversion}-20080211.diff:rtems 38 #patch.pre_args -p1 39 39 40 depends_lib 40 depends_lib-append port:zlib port:libiconv port:gettext 41 41 42 42 # All cross ports violate the mtree layout. 43 43 destroot.violate_mtree yes … … 51 51 configure.cmd ${worksrcpath}/configure 52 52 configure.cc "cc -no-cpp-precomp" 53 53 configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \ 54 --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' 54 --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \ 55 --disable-werror 56 55 57 build.dir ${workpath}/build 58 build.env-append CPPFLAGS='-I${prefix}/include' 56 59 57 60 # We don't want the etc module. 58 61 post-extract {