<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/c9a5124265ec67a9885a1e4a4d24b24fcee43251">https://github.com/macports/macports-ports/commit/c9a5124265ec67a9885a1e4a4d24b24fcee43251</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new c9a5124 i960-rtems-(binutils|gcc): remove obsolete ports
</span>c9a5124 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit c9a5124265ec67a9885a1e4a4d24b24fcee43251
</span>Author: Mojca Miklavec <mojca@macports.org>
AuthorDate: Sat Dec 10 21:52:52 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> i960-rtems-(binutils|gcc): remove obsolete ports
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> These ports no longer build on 10.5+, abandoned upstream.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/31945
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/51935
</span>---
cross/i960-rtems-binutils/Portfile | 144 --------------
cross/i960-rtems-gcc/Portfile | 211 ---------------------
cross/i960-rtems-gcc/files/patch-gcc-Makefile.in | 11 --
.../i960-rtems-gcc/files/patch-gcc-f-Make-lang.in | 13 --
4 files changed, 379 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i960-rtems-binutils/Portfile b/cross/i960-rtems-binutils/Portfile
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b38f751..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i960-rtems-binutils/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,144 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name i960-rtems-binutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.16.1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Parameters for this port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set crossgcc-target i960-rtems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description FSF Binutils for i960-rtems cross development
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description Free Software Foundation development toolchain ("binutils") for \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i960-rtems cross development (Intel i960 family).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories cross devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://www.gnu.org/software/binutils/binutils.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnu:binutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distname binutils-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-use_bzip2 yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums md5 f4f3d732697af0368ecfdadb8ea77285 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha1 1c7952e78d0c4a959274f155202f248d49aab528 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- rmd160 d2c962c6762e7b34b40a895534b6c3cc3c71ad18
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# All cross ports violate the mtree layout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Download everything to binutils/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#dist_subdir binutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# MEMO: stealth update, revert to "binutils" when version is updated
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir binutils/${version}_1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Build in a different directory, as advised in the README file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure { system "cd ${workpath} && mkdir -p build"}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.dir ${workpath}/build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ${worksrcpath}/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --infodir='${prefix}/share/info' --target=${crossgcc-target} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --program-prefix=${crossgcc-target}- --mandir='${prefix}/share/man'
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.dir ${workpath}/build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# We don't want the etc module.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "rm -rf ${worksrcpath}/etc"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- namespace eval crossgcc {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the info pages and related stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # path: path to the doc directory (e.g. gas/doc/)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # makefile: path to Makefile.in (e.g. gas/doc/Makefile.in)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # name: name of the info page (e.g. as)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # suffix: suffix of the souce page (texinfo or texi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- proc crossgcc::fixinfo { path makefile name suffix } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- global crossgcc-target worksrcpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|setfilename ${name}.info|setfilename ${crossgcc-target}-${name}.info|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|(${name})|(${crossgcc-target}-${name})|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@file{${name}}|@file{${crossgcc-target}-${name}}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|${name}.info|${crossgcc-target}-${name}.info|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${makefile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|${name}.${suffix}|${crossgcc-target}-${name}.${suffix}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${makefile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Rename the source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${worksrcpath}/${path}/${name}.${suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${crossgcc-target}-${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix install-info's dir.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (note: this may be effectless if there was no info dir to be fixed)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__TARGET|${crossgcc-target}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${makefile}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the gettext files and related stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # module: name of the module (e.g. gas)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- proc crossgcc::fixgettext { module } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- global crossgcc-target worksrcpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/Makefile.in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/Makefile.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/doc/Makefile.in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/doc/Makefile.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/po/Make-in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/po/Make-in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gas/doc/as.texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gas/doc/ gas/doc/Makefile.in as texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # bfd/doc/bfd.texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo bfd/doc/ bfd/doc/Makefile.in bfd texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # binutils/doc/binutils.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo binutils/doc/ binutils/doc/Makefile.in binutils texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gprof/gprof.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gprof/ gprof/Makefile.in gprof texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # ld/ld.texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo ld/ ld/Makefile.in ld texinfo
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gettext stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext bfd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext binutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext gas
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext gprof
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext ld
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext opcodes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Installing (host) libiberty was a mistake.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -directory "${destroot}${prefix}/lib" libiberty.a */libiberty.a] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete $f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This target has been abandonned upstream.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_warn "i960-rtems-gcc does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.type freecode
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.name binutils
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.version 2.17
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i960-rtems-gcc/Portfile b/cross/i960-rtems-gcc/Portfile
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 8bcdf38..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i960-rtems-gcc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,211 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-name i960-rtems-gcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.2.3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Parameters for this port.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set newlibversion 1.11.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set crossgcc-target i960-rtems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-description gcc cross-compilers for i960-rtems, with newlib runtime library.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description gnu compilers collection (c, c++, fortran and objc) for \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- i960-rtems cross development (Intel i960 family).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-homepage http://gcc.gnu.org/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-categories cross devel
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-license GPL-2+
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers nomaintainer
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-master_sites gnu:gcc/gcc-${version}/:gcc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://sources.redhat.com/pub/newlib/:newlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.mirror.ac.uk/sites/sources.redhat.com/pub/newlib/:newlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ftp://ftp.rtems.com/pub/rtems/snapshots/c_tools/source/:rtems \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- http://rtems.thehousleys.net/:rtems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-distfiles gcc-${version}.tar.gz:gcc \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- newlib-${newlibversion}.tar.gz:newlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gcc-${version}-rtems-20030507a.diff:rtems \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- newlib-${newlibversion}-rtems-20030605.diff:rtems
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-extract.only gcc-${version}.tar.gz newlib-${newlibversion}.tar.gz
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-worksrcdir gcc-${version}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums gcc-${version}.tar.gz md5 e951123b2dfd2288c3e9337024dc9e4c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- newlib-${newlibversion}.tar.gz md5 74de7de0c9624cd757df63f2ed17a9b4 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- gcc-${version}-rtems-20030507a.diff md5 d4adda8ccba7ad57ee36b7720eadf19c \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- newlib-${newlibversion}-rtems-20030605.diff md5 b1dfdabd92e241d835964c6ef86aa3c9
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# All cross ports violate the mtree layout.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.violate_mtree yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Download everything to gcc/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-dist_subdir gcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Patches for info's dir.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-gcc-Makefile.in \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-gcc-f-Make-lang.in
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-depends_lib port:${crossgcc-target}-binutils \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- port:gettext
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Link newlib to gcc, so gcc will find its include files and this will also build newlib.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-extract {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "ln -s ${workpath}/newlib-${newlibversion}/newlib ${workpath}/gcc-${version}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Build in a different directory, as advised in the README file.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-configure { system "cd ${workpath} && mkdir -p build"}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.dir ${workpath}/build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cmd ${workpath}/gcc-${version}/configure
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.args --infodir='${prefix}/share/info' \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --mandir='${prefix}/share/man' \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --target=${crossgcc-target} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --program-prefix=${crossgcc-target}- \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --program-suffix=-${version} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-obsolete \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-languages="c,c++,f77,objc" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --without-included-gettext \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gnu-as --with-gnu-ld \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-newlib \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gxx-include-dir=${prefix}/${crossgcc-target}/include/c++/${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.dir ${workpath}/build
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-gxx-include-dir=${destroot}${prefix}/${crossgcc-target}/include/c++/${version}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# program names as gcc's name (add -${version} with ${version} being the version of gcc).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# But it won't work because binutils binaries don't have the ${version} suffix, and even if they
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# had, they would actually have the binutils' version suffix (and not gcc's version).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# So let's tell gcc's Makefile not to do that mistake.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args AR_FOR_TARGET=${crossgcc-target}-ar \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AS_FOR_TARGET=${crossgcc-target}-as \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LD_FOR_TARGET=${crossgcc-target}-ld \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- NM_FOR_TARGET=${crossgcc-target}-nm \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- RANLIB_FOR_TARGET=${crossgcc-target}-ranlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-destroot.args AR_FOR_TARGET=${crossgcc-target}-ar \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AS_FOR_TARGET=${crossgcc-target}-as \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LD_FOR_TARGET=${crossgcc-target}-ld \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- NM_FOR_TARGET=${crossgcc-target}-nm \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- RANLIB_FOR_TARGET=${crossgcc-target}-ranlib
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Additional patches for rtems.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${workpath}/gcc-${version} && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch -p1 < ${distpath}/gcc-${version}-rtems-20030507a.diff"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "cd ${workpath}/newlib-${newlibversion} && \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch -p1 < ${distpath}/newlib-${newlibversion}-rtems-20030605.diff"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-patch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- namespace eval crossgcc {}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the info pages and related stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # path: path to the doc directory (e.g. gas/doc/)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # makefile: path to Makefile.in (e.g. gas/doc/Makefile.in)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # name: name of the info page (e.g. as)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # suffix: suffix of the souce page (texinfo or texi)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- proc crossgcc::fixinfo { path makefile name suffix } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- global crossgcc-target worksrcpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|setfilename ${name}.info|setfilename ${crossgcc-target}-${name}.info|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|(${name})|(${crossgcc-target}-${name})|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@file{${name}}|@file{${crossgcc-target}-${name}}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the Makefile
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|${name}.info|${crossgcc-target}-${name}.info|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${makefile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|${name}.${suffix}|${crossgcc-target}-${name}.${suffix}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${makefile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Rename the source
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename ${worksrcpath}/${path}/${name}.${suffix} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/${path}/${crossgcc-target}-${name}.${suffix}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix install-info's dir.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (note: this may be effectless if there was no info dir to be fixed)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|__TARGET|${crossgcc-target}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${makefile}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Fix the gettext files and related stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # module: name of the module (e.g. gas)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- proc crossgcc::fixgettext { module } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- global crossgcc-target worksrcpath
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/Makefile.in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/Makefile.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/doc/Makefile.in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/doc/Makefile.in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if { [ file exists "${worksrcpath}/${module}/po/Make-in" ] } {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PACKAGE@|${crossgcc-target}-@PACKAGE@|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${worksrcpath}/${module}/po/Make-in"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc/doc/cpp.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gcc/doc/ gcc/Makefile.in cpp texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc/doc/cppinternals.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gcc/doc/ gcc/Makefile.in cppinternals texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc/doc/gcc.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gcc/doc/ gcc/Makefile.in gcc texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc/doc/gccint.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gcc/doc/ gcc/Makefile.in gccint texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gcc/f/g77.texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixinfo gcc/f/ gcc/f/Make-lang.in g77 texi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gettext stuff.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- crossgcc::fixgettext gcc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Stuff I don't want (either because they're in the system
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # or because they would conflict with other FSF ports)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (it's easier for maintainability purposes to fix things here)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # aliases for locales (should be on the system)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete "${destroot}${prefix}/share/locale/locale.alias"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # FSF propaganda (should already be there or would conflict)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete -force "${destroot}${prefix}/share/man/man7"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (host) libiberty
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [glob -directory "${destroot}${prefix}/lib" libiberty.a */libiberty.a] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete $f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # aliases for charsets (should already be there)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file delete "${destroot}${prefix}/lib/charset.alias"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # For some reason, some man pages are not prefixed while they should have been
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # (to avoid conflicting).
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename "${destroot}${prefix}/share/man/man1/cpp.1" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${destroot}${prefix}/share/man/man1/${crossgcc-target}-cpp.1"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- file rename "${destroot}${prefix}/share/man/man1/gcov.1" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "${destroot}${prefix}/share/man/man1/${crossgcc-target}-gcov.1"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# This target has been abandonned upstream.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-pre-fetch {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${os.platform} eq "darwin" && [vercmp 9.0 ${os.version}] < 0} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- error "This port does not build on darwin 9+ (Mac OS X 10.5+) and it has been abandonned upstream."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.type regex
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.url http://gcc.gnu.org/releases.html
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# livecheck.regex {<tr><td><a href="gcc-.*/">GCC (.*)</a></td> <td>.*</td></tr>}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i960-rtems-gcc/files/patch-gcc-Makefile.in b/cross/i960-rtems-gcc/files/patch-gcc-Makefile.in
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 5a119dd..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i960-rtems-gcc/files/patch-gcc-Makefile.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,11 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gcc/Makefile.in.old Sun Jan 11 09:33:27 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gcc/Makefile.in Sun Jan 11 09:38:14 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -2666,7 +2666,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- for f in cpp.info gcc.info gccint.info cppinternals.info; do \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ install-info --dir-file=$(DESTDIR)$(infodir)/__TARGET-gcc-dir $(DESTDIR)$(infodir)/$$f; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else true; fi; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- done; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else true; fi; \
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/cross/i960-rtems-gcc/files/patch-gcc-f-Make-lang.in b/cross/i960-rtems-gcc/files/patch-gcc-f-Make-lang.in
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index fa0f330..0000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/cross/i960-rtems-gcc/files/patch-gcc-f-Make-lang.in
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,13 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- gcc/f/Make-lang.in.old Sun Jan 11 10:19:52 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ gcc/f/Make-lang.in Sun Jan 11 10:20:09 2004
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -278,8 +278,8 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else true; fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- @if [ -f $(srcdir)/f/g77.info ] ; then \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info"; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/g77.info || : ; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ echo " install-info --dir-file=$(DESTDIR)$(infodir)/__TARGET-gcc-dir $(DESTDIR)$(infodir)/g77.info"; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ install-info --dir-file=$(DESTDIR)$(infodir)/__TARGET-gcc-dir $(DESTDIR)$(infodir)/g77.info || : ; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else : ; fi; \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- else : ; fi
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span></pre><pre style='margin:0'>
</pre>