Ticket #33201: Portfile-avrbinutils.diff
File Portfile-avrbinutils.diff, 1.3 KB (added by titus@…, 13 years ago) |
---|
-
Portfile
2 2 3 3 PortSystem 1.0 4 4 name avr-binutils 5 version 2.20 6 revision 1 5 version 2.22 7 6 8 7 # Parameters for this port. 9 8 set crossgcc-target avr … … 15 14 categories cross devel 16 15 maintainers nomaintainer 17 16 homepage http://www.gnu.org/software/binutils/binutils.html 18 master_sites gnu:binutils \ 19 ftp://ftp.kernel.org/pub/linux/devel/binutils/ \ 20 http://ftp.kernel.org/pub/linux/devel/binutils/ 17 master_sites gnu:binutils 21 18 distname binutils-${version} 22 19 use_bzip2 yes 23 checksums md5 ee 2d3e996e9a2d669808713360fa96f8\24 sha1 747e7b4d94bce46587236dc5f428e5b412a590dc\25 rmd160 284074e2453e517d036ffce2c0f3d56439e2e5c020 checksums md5 ee0f10756c84979622b992a4a61ea3f5 \ 21 sha1 65b304a0b9a53a686ce50a01173d1f40f8efe404 \ 22 rmd160 34cebe4cdca9480d5dc6f6b00b052c48c8ac30dc 26 23 27 24 depends_lib port:gettext 28 25 … … 158 155 159 156 post-destroot { 160 157 file rename "${destroot}/${prefix}/lib/libiberty.a" "${destroot}/${prefix}/avr/host/lib/" 158 # For LTO optimization: With LTO enabled, collect2 searches for avr-ld 159 ln -sf "${prefix}/avr/bin/ld" "${destroot}/${prefix}/avr/bin/avr-ld" 161 160 }