Changeset 63112 for trunk/dports/cross


Ignore:
Timestamp:
Jan 26, 2010, 5:53:25 PM (10 years ago)
Author:
jmr@…
Message:

i386-elf-binutils: specify the build platform to configure when necessary, fix snowleopard buildfix (#21411)

Location:
trunk/dports/cross/i386-elf-binutils
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/i386-elf-binutils/Portfile

    r59969 r63112  
    4444configure.args          --infodir='${prefix}/share/info' --target=${crossgcc-target} \
    4545                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
     46if {${os.platform} == "darwin" && ($build_arch == "x86_64" || $build_arch == "ppc64")} {
     47    configure.args-append --build=${build_arch}-apple-darwin${os.major}
     48}
    4649build.dir               ${workpath}/build
    4750                                       
  • trunk/dports/cross/i386-elf-binutils/files/patch-binutils__strings.c

    r52972 r63112  
    66 #endif
    77-#ifdef HAVE_STAT64
    8 +#ifdef 0
     8+#if 0
    99 typedef struct stat64 statbuf;
    1010 #define file_stat(f,s) stat64(f, s)
Note: See TracChangeset for help on using the changeset viewer.