Ticket #20977: arm-elf-binutils.diff
File arm-elf-binutils.diff, 1.6 KB (added by blb@…, 15 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name arm-elf-binutils 5 version 2.1 8.50.0.95 version 2.19.1 6 6 7 7 # Parameters for this port. 8 8 set crossgcc-target arm-elf … … 18 18 http://ftp.kernel.org/pub/linux/devel/binutils/ 19 19 distname binutils-${version} 20 20 use_bzip2 yes 21 checksums md5 68e3510d9c790b134450c0a243c251cd\22 sha1 369b21b07e06ec44005603acaa046b2ea69831bd\23 rmd160 edbb31cfd6e0c1756618532064a46d03779bfadb21 checksums md5 09a8c5821a2dfdbb20665bc0bd680791 \ 22 sha1 88c91e36cde93433e4c4c2b2e3417777aad84526 \ 23 rmd160 330089af7cb5c6b3994febe8cd2af159218bc012 24 24 25 25 depends_lib port:gettext 26 26 … … 36 36 configure.cmd ${worksrcpath}/configure 37 37 configure.cc "cc -no-cpp-precomp -I${prefix}/include" 38 38 configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \ 39 --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' 39 --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \ 40 --disable-werror 41 40 42 build.dir ${workpath}/build 41 43 42 44 # We don't want the etc module. … … 126 128 127 129 post-destroot { 128 130 # Installing (host) libiberty was a mistake. 129 file delete "${destroot}/${prefix}/lib/libiberty.a" 131 if {${configure.build_arch} == "x86_64"} { 132 file delete "${destroot}${prefix}/lib/x86_64/libiberty.a" 133 } else { 134 file delete "${destroot}${prefix}/lib/libiberty.a" 135 } 130 136 } 131 137 132 138 livecheck.type freshmeat