<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>[125577] trunk/dports/lang</title>
</head>
<body>

<style type="text/css"><!--
#msg dl.meta { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dl.meta dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer, #logmsg { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fa0 solid; padding: 6px; }
#logmsg { background: #ffc; border: 1px #fa0 solid; padding: 1em 1em 0 1em; }
#logmsg p, #logmsg pre, #logmsg blockquote { margin: 0 0 1em 0; }
#logmsg p, #logmsg li, #logmsg dt, #logmsg dd { line-height: 14pt; }
#logmsg h1, #logmsg h2, #logmsg h3, #logmsg h4, #logmsg h5, #logmsg h6 { margin: .5em 0; }
#logmsg h1:first-child, #logmsg h2:first-child, #logmsg h3:first-child, #logmsg h4:first-child, #logmsg h5:first-child, #logmsg h6:first-child { margin-top: 0; }
#logmsg ul, #logmsg ol { padding: 0; list-style-position: inside; margin: 0 0 0 1em; }
#logmsg ul { text-indent: -1em; padding-left: 1em; }#logmsg ol { text-indent: -1.5em; padding-left: 1.5em; }
#logmsg > ul, #logmsg > ol { margin: 0 0 1em 0; }
#logmsg pre { background: #eee; padding: 1em; }
#logmsg blockquote { border: 1px solid #fa0; border-left-width: 10px; padding: 1em 1em 0 1em; background: white;}
#logmsg dl { margin: 0; }
#logmsg dt { font-weight: bold; }
#logmsg dd { margin: 0; padding: 0 0 0.5em 0; }
#logmsg dd:before { content:'\00bb';}
#logmsg table { border-spacing: 0px; border-collapse: collapse; border-top: 4px solid #fa0; border-bottom: 1px solid #fa0; background: #fff; }
#logmsg table th { text-align: left; font-weight: normal; padding: 0.2em 0.5em; border-top: 1px dotted #fa0; }
#logmsg table td { text-align: right; border-top: 1px dotted #fa0; padding: 0.2em 0.5em; }
#logmsg table thead th { text-align: center; border-bottom: 1px solid #fa0; }
#logmsg table th.Corner { text-align: left; }
#logmsg hr { border: none 0; border-top: 2px dashed #fa0; height: 1px; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<div id="msg">
<dl class="meta">
<dt>Revision</dt> <dd><a href="https://trac.macports.org/changeset/125577">125577</a></dd>
<dt>Author</dt> <dd>ryandesign@macports.org</dd>
<dt>Date</dt> <dd>2014-09-21 17:00:33 -0700 (Sun, 21 Sep 2014)</dd>
</dl>

<h3>Log Message</h3>
<pre>gcc410: rename to gcc5 and update to 5-20140817 (#44995)</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkdportslanggcc410Portfile">trunk/dports/lang/gcc410/Portfile</a></li>
<li><a href="#trunkdportslanggcc5Portfile">trunk/dports/lang/gcc5/Portfile</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/dports/lang/gcc5/</li>
<li><a href="#trunkdportslanggcc5filesmpgcc5">trunk/dports/lang/gcc5/files/mp-gcc5</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li>trunk/dports/lang/gcc410/files/</li>
<li><a href="#trunkdportslanggcc5filesmpgcc410">trunk/dports/lang/gcc5/files/mp-gcc410</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkdportslanggcc410Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/gcc410/Portfile (125576 => 125577)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/gcc410/Portfile        2014-09-21 23:37:02 UTC (rev 125576)
+++ trunk/dports/lang/gcc410/Portfile        2014-09-22 00:00:33 UTC (rev 125577)
</span><span class="lines">@@ -1,255 +1,12 @@
</span><span class="cx"> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
</span><span class="cx"> # $Id$
</span><span class="cx"> 
</span><del>-PortSystem 1.0
-PortGroup select 1.0
-PortGroup compiler_blacklist_versions 1.0
-PortGroup conflicts_build 1.0
</del><ins>+PortSystem          1.0
</ins><span class="cx"> 
</span><del>-name                gcc410
-subport             libgcc-devel {}
</del><ins>+replaced_by         gcc5
+PortGroup           obsolete 1.0
</ins><span class="cx"> 
</span><del>-version             4.10-20140810
</del><ins>+name                gcc410
+version             5-20140817
</ins><span class="cx"> platforms           darwin
</span><span class="cx"> categories          lang
</span><del>-maintainers         mww openmaintainer
-# an exception in the license allows dependents to not be GPL
-license             {GPL-3+ Permissive}
-description         The GNU compiler collection, prerelease BETA
-long_description    The GNU compiler collection, including front ends for \
-                    C, C++, Objective-C, Objective-C++, Fortran and Java. \
-                    This is a prerelease BETA version!
-
-homepage            http://gcc.gnu.org/
-master_sites        http://gcc.petsads.us/snapshots/${version} \
-                    ftp://ftp.gwdg.de/pub/linux/gcc/snapshots/${version}/ \
-                    ftp://ftp.funet.fi/pub/mirrors/sources.redhat.com/pub/gcc/snapshots/${version}/ \
-                    ftp://gcc.gnu.org/pub/gcc/snapshots/${version}/ \
-                    http://mirrors-us.seosue.com/gcc/snapshots/${version}/ \
-                    http://gcc.skazkaforyou.com/snapshots/${version}/
-
-distname            gcc-${version}
-use_bzip2           yes
-
-checksums           rmd160  f220f6de51b0c1d7cd26e8573d73029067a51b18 \
-                    sha256  b39ca98b7ace59619b3f9ae0efc28b660df40aa198862a462321da5e3f688bf6
-
-depends_lib         port:gmp port:mpfr port:libiconv port:libmpc path:lib/pkgconfig/cloog-isl.pc:cloog port:libgcc-devel port:ld64 port:cctools
-depends_run         port:gcc_select
-
-depends_skip_archcheck-append gcc_select ld64 cctools
-license_noconflict  gmp mpfr ppl libmpc
-
-patchfiles          patch-10.10.diff
-
-set major           4.10
-
-platform darwin {
-    configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
-}
-
-configure.dir       ${workpath}/build
-configure.cmd       ${worksrcpath}/configure
-configure.args      --enable-languages=c,c++,objc,obj-c++,fortran,java \
-                    --libdir=${prefix}/lib/${name} \
-                    --includedir=${prefix}/include/${name} \
-                    --infodir=${prefix}/share/info \
-                    --mandir=${prefix}/share/man \
-                    --datarootdir=${prefix}/share/gcc-${major} \
-                    --with-local-prefix=${prefix} \
-                    --with-system-zlib \
-                    --disable-nls \
-                    --program-suffix=-mp-${major} \
-                    --with-gxx-include-dir=${prefix}/include/${name}/c++/ \
-                    --with-gmp=${prefix} \
-                    --with-mpfr=${prefix} \
-                    --with-mpc=${prefix} \
-                    --with-cloog=${prefix} --enable-cloog-backend=isl \
-                    --disable-cloog-version-check \
-                    --enable-stage1-checking \
-                    --disable-multilib \
-                    --enable-lto \
-                    --enable-libstdcxx-time \
-                    --with-as=${prefix}/bin/as \
-                    --with-ld=${prefix}/bin/ld \
-                    --with-ar=${prefix}/bin/ar \
-                    --with-bugurl=https://trac.macports.org/newticket
-
-configure.env-append \
-                    AR_FOR_TARGET=${prefix}/bin/ar \
-                    AS_FOR_TARGET=${prefix}/bin/as \
-                    LD_FOR_TARGET=${prefix}/bin/ld \
-                    NM_FOR_TARGET=${prefix}/bin/nm \
-                    OBJDUMP_FOR_TARGET=${prefix}/bin/objdump \
-                    RANLIB_FOR_TARGET=${prefix}/bin/ranlib \
-                    STRIP_FOR_TARGET=${prefix}/bin/strip \
-                    OTOOL=${prefix}/bin/otool \
-                    OTOOL64=${prefix}/bin/otool
-
-pre-configure {
-    configure.args-append --with-pkgversion=&quot;MacPorts ${name} ${version}_${revision}${portvariants}&quot;
-
-    # TODO: Remove when base automatically creates configure.dir (2.2.1?).
-    file mkdir ${configure.dir}
-}
-
-# http://trac.macports.org/ticket/29067
-compiler.blacklist-append gcc-4.0
-
-# http://trac.macports.org/ticket/29104
-compiler.blacklist-append {llvm-gcc-4.2 &lt; 2336.1}
-
-# &quot;-stdlib&quot; would be passed on to the bootstrap compiler if present
-configure.cxx_stdlib
-
-# https://trac.macports.org/ticket/43869
-conflicts_build-append libunwind-headers
-
-build.dir           ${configure.dir}
-build.target        bootstrap
-use_parallel_build  yes
-
-destroot.target     install install-info-host
-
-if {${subport} eq &quot;libgcc-devel&quot;} {
-    conflicts       libgcc
-
-    # http://trac.macports.org/ticket/35770
-    # http://trac.macports.org/ticket/38814
-    # While there can be multiple versions of these runtimes in a single
-    # process, it is not possible to pass objects between different versions,
-    # so we simplify this by having the libgcc port provide the newest version
-    # of these runtimes for all versions of gcc to use.
-    #
-    # If there is a binary incompatible change to the runtime in a future
-    # version of gcc, then the latest version of gcc to provide a given ABI
-    # version should continue to provide a subport for that and older gcc
-    # versions.
-
-    depends_lib-delete port:libgcc-devel
-
-    configure.args-delete --libdir=${prefix}/lib/${name}
-    configure.args-append --libdir=${prefix}/lib/libgcc
-
-    configure.args-delete --enable-languages=c,c++,objc,obj-c++,lto,fortran,java
-    configure.args-append --enable-languages=c,c++,objc,obj-c++,lto,fortran
-
-    # TODO: Possibly disable bootstrap with appropriate configure flags.
-    #       the problem is that libstdc++'s configure script tests for tls support
-    #       using the running compiler (not gcc for which libstdc++ is being built).
-    #       Thus when we build with clang, we get a mismatch
-    # http://trac.macports.org/ticket/36116
-    #compiler.blacklist-append {clang &lt; 425}
-    #configure.args-append --disable-bootstrap
-    #build.target        all
-
-    post-destroot {
-        file mkdir ${destroot}${prefix}/lib/libgcc.merged
-
-        # Note that we really don't want to include libgcc_ext.10.[45].dylib here, but install_name_tool
-        # doesn't know how to change the id of stubs, and it's easier than recreating them for each
-        # gcc port.
-        set dylibs {libgcc_ext.10.4.dylib libgcc_ext.10.5.dylib libgcc_s.1.dylib libgfortran.3.dylib libquadmath.0.dylib libstdc++.6.dylib libobjc-gnu.4.dylib libgomp.1.dylib libitm.1.dylib libssp.0.dylib libasan.0.dylib libatomic.1.dylib}
-
-        foreach dylib ${dylibs} {
-            # Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
-            # https://trac.macports.org/ticket/40098
-            # https://trac.macports.org/ticket/40100
-            if {! [file exists ${destroot}${prefix}/lib/libgcc/${dylib}]} {
-                continue
-            }
-
-            move ${destroot}${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/libgcc.merged
-            if {[variant_isset universal]} {
-                foreach archdir [glob ${destroot}${prefix}/lib/libgcc/*/] {
-                    set archdir_nodestroot [string map &quot;${destroot}/ /&quot; ${archdir}]
-                    if {[file exists ${archdir}/${dylib}]} {
-                        system &quot;install_name_tool -id ${prefix}/lib/libgcc/${dylib} ${archdir}/${dylib}&quot;
-                        foreach link ${dylibs} {
-                            system &quot;install_name_tool -change ${archdir_nodestroot}${link} ${prefix}/lib/libgcc/${link} ${archdir}/${dylib}&quot;
-                        }
-                        system &quot;lipo -create -output ${destroot}${prefix}/lib/libgcc.merged/${dylib}~ ${destroot}${prefix}/lib/libgcc.merged/${dylib} ${archdir}/${dylib} &amp;&amp; mv ${destroot}${prefix}/lib/libgcc.merged/${dylib}~ ${destroot}${prefix}/lib/libgcc.merged/${dylib}&quot;
-                    }
-                }
-            }
-
-            # strip debug symbols to supress debugger warnings:
-            # http://trac.macports.org/attachment/ticket/34831
-            if {! [string match *libgcc_ext* ${dylib}]} {
-                system &quot;strip -x ${destroot}${prefix}/lib/libgcc.merged/${dylib}&quot;
-            }
-        }
-
-        file delete -force ${destroot}${prefix}/bin              
-        file delete -force ${destroot}${prefix}/share
-        file delete -force ${destroot}${prefix}/include
-        file delete -force ${destroot}${prefix}/lib/libgcc
-        file delete -force ${destroot}${prefix}/libexec
-
-        move ${destroot}${prefix}/lib/libgcc.merged ${destroot}${prefix}/lib/libgcc
-
-        # For binary compatibility with binaries that linked against the old libstdcxx port
-        ln -s libgcc/libstdc++.6.dylib ${destroot}${prefix}/lib/libstdc++.6.dylib
-    }
-} else {
-post-destroot {
-    file delete ${destroot}${prefix}/share/info/dir
-
-    foreach file [glob ${destroot}${prefix}/share/{info,man/man7}/*] {
-        set extension [file extension ${file}]
-        set newfile [regsub &quot;${extension}$&quot; ${file} &quot;-mp-${major}${extension}&quot;]
-
-        file rename ${file} ${newfile}
-    }
-
-    foreach dylib {libgcc_ext.10.4.dylib libgcc_ext.10.5.dylib libgcc_s.1.dylib libgfortran.3.dylib libquadmath.0.dylib libstdc++.6.dylib libobjc-gnu.4.dylib libgomp.1.dylib libitm.1.dylib libssp.0.dylib libasan.0.dylib libatomic.1.dylib} {
-        # Different OS versions (eg: Leopard) or architectures (eg: PPC) don't produce all the dylibs
-        # https://trac.macports.org/ticket/40098
-        # https://trac.macports.org/ticket/40100
-        if {[file exists ${destroot}${prefix}/lib/${name}/${dylib}]} {
-            delete ${destroot}${prefix}/lib/${name}/${dylib}
-            ln -s ${prefix}/lib/libgcc/${dylib} ${destroot}${prefix}/lib/${name}/${dylib}
-        }
-
-        if {[variant_isset universal]} {
-            foreach archdir [glob ${destroot}${prefix}/lib/${name}/*/] {
-                if {[file exists ${archdir}/${dylib}]} {
-                    delete ${archdir}/${dylib}
-                    ln -s ${prefix}/lib/libgcc/${dylib} ${archdir}/${dylib}
-                }
-            }
-        }
-    }
-}
-
-select.group        gcc
-select.file         ${filespath}/mp-${name}
-
-}
-
-platform powerpc {
-    configure.universal_archs ppc ppc64
-}
-platform i386 {
-    configure.universal_archs i386 x86_64
-}
-variant universal {
-    configure.args-delete --disable-multilib
-}
-# the generated compiler doesn't accept -arch
-configure.env-append CPP=&quot;${configure.cc} -E&quot;
-build.env-append CPP=&quot;${configure.cc} -E&quot;
-configure.cc-append [get_canonical_archflags]
-configure.cc_archflags
-configure.cxx-append ${configure.cxx_archflags}
-configure.cxx_archflags
-configure.objc_archflags
-configure.ld_archflags
-configure.universal_cflags
-configure.universal_cxxflags
-configure.universal_ldflags
-configure.universal_args
-
-livecheck.type      regex
-livecheck.url       ftp://gcc.gnu.org/pub/gcc/snapshots/
-livecheck.regex     LATEST-4.10 -&gt; (4.10-\[0-9\]+)
</del></span></pre></div>
<a id="trunkdportslanggcc5Portfile"></a>
<div class="modfile"><h4>Modified: trunk/dports/lang/gcc5/Portfile (125551 => 125577)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/gcc410/Portfile        2014-09-20 23:11:55 UTC (rev 125551)
+++ trunk/dports/lang/gcc5/Portfile        2014-09-22 00:00:33 UTC (rev 125577)
</span><span class="lines">@@ -6,10 +6,10 @@
</span><span class="cx"> PortGroup compiler_blacklist_versions 1.0
</span><span class="cx"> PortGroup conflicts_build 1.0
</span><span class="cx"> 
</span><del>-name                gcc410
</del><ins>+name                gcc5
</ins><span class="cx"> subport             libgcc-devel {}
</span><span class="cx"> 
</span><del>-version             4.10-20140810
</del><ins>+version             5-20140817
</ins><span class="cx"> platforms           darwin
</span><span class="cx"> categories          lang
</span><span class="cx"> maintainers         mww openmaintainer
</span><span class="lines">@@ -31,8 +31,8 @@
</span><span class="cx"> distname            gcc-${version}
</span><span class="cx"> use_bzip2           yes
</span><span class="cx"> 
</span><del>-checksums           rmd160  f220f6de51b0c1d7cd26e8573d73029067a51b18 \
-                    sha256  b39ca98b7ace59619b3f9ae0efc28b660df40aa198862a462321da5e3f688bf6
</del><ins>+checksums           rmd160  dd0d00f96fd32d408ff8e30506fe1207ea2bd2f9 \
+                    sha256  088418a0bf967f9361a37cee1814b3a317f4496c8d5f694c974c44be26f00cbf
</ins><span class="cx"> 
</span><span class="cx"> depends_lib         port:gmp port:mpfr port:libiconv port:libmpc path:lib/pkgconfig/cloog-isl.pc:cloog port:libgcc-devel port:ld64 port:cctools
</span><span class="cx"> depends_run         port:gcc_select
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx"> 
</span><span class="cx"> patchfiles          patch-10.10.diff
</span><span class="cx"> 
</span><del>-set major           4.10
</del><ins>+set major           [lindex [split ${version} .-] 0]
</ins><span class="cx"> 
</span><span class="cx"> platform darwin {
</span><span class="cx">     configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
</span><span class="lines">@@ -252,4 +252,4 @@
</span><span class="cx"> 
</span><span class="cx"> livecheck.type      regex
</span><span class="cx"> livecheck.url       ftp://gcc.gnu.org/pub/gcc/snapshots/
</span><del>-livecheck.regex     LATEST-4.10 -&gt; (4.10-\[0-9\]+)
</del><ins>+livecheck.regex     LATEST-${major} -&gt; (${major}-\[0-9\]+)
</ins></span></pre></div>
<a id="trunkdportslanggcc5filesmpgcc410"></a>
<div class="delfile"><h4>Deleted: trunk/dports/lang/gcc5/files/mp-gcc410 (125551 => 125577)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/gcc410/files/mp-gcc410        2014-09-20 23:11:55 UTC (rev 125551)
+++ trunk/dports/lang/gcc5/files/mp-gcc410        2014-09-22 00:00:33 UTC (rev 125577)
</span><span class="lines">@@ -1,7 +0,0 @@
</span><del>-bin/gcc-mp-4.10
-bin/cpp-mp-4.10
-bin/c++-mp-4.10
-bin/g++-mp-4.10
-bin/gcj-mp-4.10
-bin/gcov-mp-4.10
-bin/gfortran-mp-4.10
</del></span></pre></div>
<a id="trunkdportslanggcc5filesmpgcc5fromrev125551trunkdportslanggcc410filesmpgcc410"></a>
<div class="copfile"><h4>Copied: trunk/dports/lang/gcc5/files/mp-gcc5 (from rev 125551, trunk/dports/lang/gcc410/files/mp-gcc410) (0 => 125577)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/dports/lang/gcc5/files/mp-gcc5                                (rev 0)
+++ trunk/dports/lang/gcc5/files/mp-gcc5        2014-09-22 00:00:33 UTC (rev 125577)
</span><span class="lines">@@ -0,0 +1,7 @@
</span><ins>+bin/gcc-mp-5
+bin/cpp-mp-5
+bin/c++-mp-5
+bin/g++-mp-5
+bin/gcj-mp-5
+bin/gcov-mp-5
+bin/gfortran-mp-5
</ins></span></pre>
</div>
</div>

</body>
</html>