# $Id: Portfile 84744 2011-09-30 12:28:34Z jmr@macports.org $ PortSystem 1.0 name binutils version 2.21 description FSF Binutils for native development. long_description Free Software Foundation development toolchain ("binutils") \ for native development. Tools are prefixed with g to avoid \ conflicts with original tools. platforms darwin categories devel license GPL-3+ maintainers nomaintainer homepage http://www.gnu.org/software/binutils/binutils.html master_sites gnu:binutils use_bzip2 yes checksums sha1 ef93235588eb443e4c4a77f229a8d131bccaecc6 \ rmd160 8d2ebab3287a6283267879074b808d20fe9112b0 depends_lib-append port:zlib port:libiconv port:gettext configure.args --infodir='${prefix}/share/info' \ --mandir='${prefix}/share/man' \ --disable-werror \ --program-prefix=g \ --enable-shared # The Makefile runs configure again in subdirectories. # It correcty passes along most configure variables (CFLAGS, LDFLAGS, ...), # but seems to neglect CPPFLAGS. build.env-append CPPFLAGS='-I${prefix}/include' # Binutils violates the mtree layout by creating ${prefix}// destroot.violate_mtree yes # We don't want the etc module. post-extract { system "rm -rf ${worksrcpath}/etc" } universal_variant no notes "Having ${name} installed will cause some other ports to\ fail to build. Consider uninstalling ${name}."