Ignore:
Timestamp:
Dec 12, 2008, 5:16:43 AM (11 years ago)
Author:
mcalhoun@…
Message:

binutils: Update version 2.17 -> 2.19.
Added dependencies on zlib and libiconv.
Do not build in a separate directory since the README file no longer advises it.
Do not add -no-cpp-precomp compiler option anymore.
The patchfile is no longer needed.
Fixes #17515 (maintainer timeout).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/binutils/Portfile

    r30690 r43575  
    33PortSystem                      1.0
    44name                            binutils
    5 version                         2.17
     5version                         2.19
    66
    77description                     FSF Binutils for native development.
     
    1515master_sites            gnu:binutils
    1616use_bzip2                       yes
    17 checksums                       md5 e26e2e06b6e4bf3acf1dc8688a94c0d1 \
    18                                         sha1 a557686eef68362ea31a3aa41ce274e3eeae1ef0 \
    19                                         rmd160 3995d7ed97f115e76ce55b4c1f5256d53559c84f
     17checksums                       md5 17a52219dee5a76c1a9d9b0bfd337d66 \
     18                                        sha1 a150b97ec47996bf8f01d6bc14d41587faa4bbff \
     19                                        rmd160 1d5e234e22dbd9cd126ccfd685bf5700dc36ad1a
    2020
    21 # Build in a different directory, as advised in the README file.
    22 pre-configure           { system "cd ${workpath} && mkdir -p build"}
    23 configure.dir           ${workpath}/build
    24 configure.cmd           ${worksrcpath}/configure
    25 configure.cc            "cc -no-cpp-precomp"
     21depends_lib-append      port:zlib port:libiconv
     22
    2623configure.args          --infodir='${prefix}/share/info' \
    2724                                        --mandir='${prefix}/share/man' \
    2825                                        --program-prefix=g
    29 build.dir               ${workpath}/build
     26
     27# The Makefile runs configure again in subdirectories.
     28# It correcty passes along most configure variables (CFLAGS, LDFLAGS, ...),
     29#    but seems to neglect CPPFLAGS.
     30build.env-append        CPPFLAGS='-I${prefix}/include'
    3031
    3132# Binutils violates the mtree layout by creating ${prefix}/<arch>/
    3233destroot.violate_mtree  yes
    3334
    34 # Fix the configure script to build bfd, binutils and opcode.
    35 patchfiles                      patch-configure
    36                                        
    3735# We don't want the etc module.
    3836post-extract {
Note: See TracChangeset for help on using the changeset viewer.