source: trunk/dports/devel/binutils/Portfile @ 43575

Last change on this file since 43575 was 43575, checked in by mcalhoun@…, 11 years ago

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).

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.2 KB
Line 
1# $Id: Portfile 43575 2008-12-12 05:16:43Z mcalhoun@macports.org $
2
3PortSystem                      1.0
4name                            binutils
5version                         2.19
6
7description                     FSF Binutils for native development.
8long_description        Free Software Foundation development toolchain ("binutils") \
9                                        for native development. Tools are prefixed with g to avoid \
10                                        conflicts with original tools.
11platforms                       darwin
12categories                      devel
13maintainers                     pguyot@kallisys.net
14homepage                        http://www.gnu.org/software/binutils/binutils.html
15master_sites            gnu:binutils
16use_bzip2                       yes
17checksums                       md5 17a52219dee5a76c1a9d9b0bfd337d66 \
18                                        sha1 a150b97ec47996bf8f01d6bc14d41587faa4bbff \
19                                        rmd160 1d5e234e22dbd9cd126ccfd685bf5700dc36ad1a
20
21depends_lib-append      port:zlib port:libiconv
22
23configure.args          --infodir='${prefix}/share/info' \
24                                        --mandir='${prefix}/share/man' \
25                                        --program-prefix=g
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'
31
32# Binutils violates the mtree layout by creating ${prefix}/<arch>/
33destroot.violate_mtree  yes
34
35# We don't want the etc module.
36post-extract {
37        system "rm -rf ${worksrcpath}/etc"
38}
Note: See TracBrowser for help on using the repository browser.