source: trunk/dports/devel/binutils/Portfile

Last change on this file was 150799, checked in by mojca@…, 16 months ago

binutils: upgrade to 2.16.1

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 150799 2016-07-29 10:50:28Z ryandesign@macports.org $
3
4PortSystem          1.0
5
6name                binutils
7version             2.26.1
8
9checksums           rmd160  a4933fbd12056edc1933d3a5379cd7a2cffef185 \
10                    sha256  39c346c87aa4fb14b2f786560aec1d29411b6ec34dce3fe7309fe3dd56949fd8
11
12description         FSF Binutils for native development.
13long_description    Free Software Foundation development toolchain ("binutils") \
14                    for native development. Tools are prefixed with g to avoid \
15                    conflicts with original tools.
16
17platforms           darwin
18categories          devel
19license             GPL-3+
20maintainers         nomaintainer
21homepage            http://www.gnu.org/software/binutils/binutils.html
22master_sites        gnu:binutils
23use_bzip2           yes
24
25depends_lib-append  port:zlib port:libiconv port:gettext
26
27configure.args      --infodir='${prefix}/share/info' \
28                    --mandir='${prefix}/share/man' \
29                    --disable-werror \
30                    --program-prefix=g \
31                    --enable-shared
32
33# The Makefile runs configure again in subdirectories.
34# It correcty passes along most configure variables (CFLAGS, LDFLAGS, ...),
35#    but seems to neglect CPPFLAGS.
36build.env-append    CPPFLAGS='-I${prefix}/include'
37
38# Binutils violates the mtree layout by creating ${prefix}/<arch>/
39destroot.violate_mtree  yes
40
41# We don't want the etc module.
42post-extract {
43    system "rm -rf ${worksrcpath}/etc"
44}
45
46universal_variant   no
47
48notes "Having ${name} installed will cause some other ports to\
49fail to build. Consider uninstalling ${name}."
Note: See TracBrowser for help on using the repository browser.