# $Id: Portfile 20225 2006-10-29 06:35:14Z blair@macports.org $ PortSystem 1.0 name mipsel-linux-binutils version 2.16.1 categories cross platforms darwin maintainers mww@opendarwin.org description FSF Binutils for mipsel-linux cross development long_description ${description} homepage http://mipsel-linux-binutils.sourceforge.net/ master_sites http://ftp.gnu.org/gnu/binutils/ distname binutils-${version} checksums sha1 5c80fd5657da47efc16a63fdd93ef7395319fbbf use_bzip2 yes dist_subdir binutils patchfiles 100-uclibc-conf.patch 110-uclibc-libtool-conf.patch \ 300-001_ld_makefile_patch.patch \ 300-006_better_file_error.patch \ 300-012_check_ldrunpath_length.patch \ 702-binutils-skip-comments.patch set target mipsel-linux-uclibc set cprefix ${prefix}/cross/${target} patch.pre_args -p1 configure.pre_args --prefix=${cprefix} \ configure.args --target=${target} \ --disable-werror \ --disable-nls \ --enable-multilib \ --with-float=soft platform darwin 8 { configure.env CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 } platform darwin powerpc { configure.args-append --host=powerpc-apple-darwin \ --build=powerpc-apple-darwin } post-destroot { file delete -force ${destroot}${cprefix}/info ${destroot}${cprefix}/man }