# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=portfile:et:sw=4:ts=4:sts=4 # $Id: Portfile 90920 2012-03-18 12:07:02Z g5pw@macports.org $ PortSystem 1.0 PortGroup crossgcc 1.0 name avr-gcc crossgcc.setup avr 4.6.2 maintainers g5pw license {GPL-3+ Permissive} distfiles gcc-${version}.tar.bz2 extract.only ${distfiles} checksums rmd160 e7041933b39629f9524848dcf81a1a4c02a225c6 \ sha256 60b05463dfe18d40d68fb8a71b25b408a01f86cc6ceaf5e6b22238b6b0f450c2 # Download everything to gcc/ dist_subdir gcc patchfiles-append patch-lto-plugin-osx.diff configure.args-delete --enable-languages="c,objc,c++,obj-c++" configure.args-append --with-included-gettext \ --enable-obsolete \ --enable-lto \ --disable-libquadmath \ --enable-languages="c,c++" if {$build_arch != "" && ${os.platform} == "darwin"} { configure.args-append --build=${build_arch}-apple-darwin${os.major} \ --host=${build_arch}-apple-darwin${os.major} }