Changeset 79457 for trunk/dports/cross


Ignore:
Timestamp:
Jun 14, 2011, 11:22:44 AM (8 years ago)
Author:
jmr@…
Message:

mips-elf-binutils: disable -Werror, fix makeinfo detection, set build/host type correctly

Location:
trunk/dports/cross/mips-elf-binutils
Files:
2 added
1 edited

Legend:

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

    r72086 r79457  
    2828dist_subdir                     binutils
    2929
     30patchfiles                      patch-configure.diff
     31
    3032# Build in a different directory, as advised in the README file.
    3133pre-configure           { system "cd ${workpath} && mkdir -p build"}
     
    3335configure.cmd           ${worksrcpath}/configure
    3436configure.args          --infodir='${prefix}/share/info' --target=${crossgcc-target} \
    35                                         --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
    36 build.dir               ${workpath}/build
    37                                        
     37                                        --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man' \
     38                                        --disable-werror
     39
     40platform darwin {
     41        if {$build_arch == "i386"} {
     42                configure.args-append --build=i686-apple-${os.platform}${os.version} \
     43                                                          --host=i686-apple-darwin${os.platform}${os.version}
     44        } else {
     45                configure.args-append --build=${build_arch}-apple-${os.platform}${os.version} \
     46                                                          --host=${build_arch}-apple-${os.platform}${os.version}
     47        }
     48}
     49
     50build.dir                       ${workpath}/build
     51
    3852# We don't want the etc module.
    3953post-extract {
     
    4155}
    4256
    43 patch {
     57post-patch {
    4458        namespace eval crossgcc {}
    4559
Note: See TracChangeset for help on using the changeset viewer.