Revision: 94938 https://trac.macports.org/changeset/94938 Author: jmr@macports.org Date: 2012-07-02 07:47:10 -0700 (Mon, 02 Jul 2012) Log Message: ----------- arm-aout-gcc: avoid unsuccessful attempt to opportunistically use the gettext port, only depend on binutils once, use -std=gnu89 Modified Paths: -------------- trunk/dports/cross/arm-aout-gcc/Portfile Modified: trunk/dports/cross/arm-aout-gcc/Portfile =================================================================== --- trunk/dports/cross/arm-aout-gcc/Portfile 2012-07-02 13:31:48 UTC (rev 94937) +++ trunk/dports/cross/arm-aout-gcc/Portfile 2012-07-02 14:47:10 UTC (rev 94938) @@ -1,6 +1,7 @@ # $Id$ PortSystem 1.0 + name arm-aout-gcc version 3.3.6 @@ -43,11 +44,7 @@ patch-gcc-java-gjavah.c \ patch-fastjar-Makefile.in -depends_lib bin:${crossgcc-target}-ar:${crossgcc-target}-binutils \ - bin:${crossgcc-target}-as:${crossgcc-target}-binutils \ - bin:${crossgcc-target}-ld:${crossgcc-target}-binutils \ - bin:${crossgcc-target}-nm:${crossgcc-target}-binutils \ - bin:${crossgcc-target}-ranlib:${crossgcc-target}-binutils +depends_lib port:${crossgcc-target}-binutils # Link newlib to gcc, so gcc will find its include files and this will also build newlib. post-extract { @@ -66,14 +63,17 @@ --enable-obsolete \ --with-gnu-as --with-gnu-ld \ --with-newlib \ - --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ + --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/ \ + --with-included-gettext + +configure.cflags-append -std=gnu89 +configure.cppflags +configure.ldflags configure.cc_archflags configure.cxx_archflags configure.objc_archflags configure.ld_archflags build.dir ${workpath}/build -destroot.args \ - --with-gxx-include-dir=${destroot}${prefix}/${crossgcc-target}/include/c++/${version}/ # Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform # program names as gcc's name (add -${version} with ${version} being the version of gcc).