<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/77183f83d54752583a3322f162536a5c0624dc90">https://github.com/macports/macports-ports/commit/77183f83d54752583a3322f162536a5c0624dc90</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 77183f83d54752583a3322f162536a5c0624dc90
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri Jan 4 10:33:45 2019 -0700
<span style='display:block; white-space:pre;color:#404040;'> crossbinutils PG: suppress reinplace warnings
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Not all of the reinplace calls are needed for each port, so prevent
</span><span style='display:block; white-space:pre;color:#404040;'> warnings about reinplace not doing anything.
</span>---
_resources/port1.0/group/crossbinutils-1.0.tcl | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/crossbinutils-1.0.tcl b/_resources/port1.0/group/crossbinutils-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 4687910..952fe63 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/crossbinutils-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/crossbinutils-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -79,38 +79,38 @@ proc crossbinutils.setup {target version} {
</span> foreach {dir page} ${infopages} {
# Fix texinfo source file
set tex [glob -directory ${worksrcpath}/${dir} ${page}.texi*]
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q \
</span> /setfilename/s/${page}/${crossbinutils.target}-${page}/ ${tex}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace s/(${page})/(${crossbinutils.target}-${page})/g ${tex}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q s/(${page})/(${crossbinutils.target}-${page})/g ${tex}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q \
</span> "s/@file{${page}}/@file{${crossbinutils.target}-${page}}/g" \
${tex}
move ${tex} \
${worksrcpath}/${dir}/${crossbinutils.target}-${page}[file extension ${tex}]
# Fix Makefile
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -E \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q -E \
</span> s/\[\[:<:\]\]${page}\\.(info|texi)/${crossbinutils.target}-&/g \
${worksrcpath}/${dir}/Makefile.in
}
# Fix packages' names.
foreach dir {bfd binutils gas gold gprof ld opcodes} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "/^ PACKAGE=/s/=.*/=${crossbinutils.target}-${dir}/" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "/^ PACKAGE=/s/=.*/=${crossbinutils.target}-${dir}/" \
</span> ${worksrcpath}/${dir}/configure
}
# Install target-compatible libbfd/libiberty in the target's directory
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|bfdlibdir=.*|bfdlibdir='${prefix}/${crossbinutils.target}/host/lib'|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|bfdlibdir=.*|bfdlibdir='${prefix}/${crossbinutils.target}/host/lib'|g" \
</span> ${worksrcpath}/bfd/configure \
${worksrcpath}/opcodes/configure
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|bfdincludedir=.*|bfdincludedir='${prefix}/${crossbinutils.target}/host/include'|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|bfdincludedir=.*|bfdincludedir='${prefix}/${crossbinutils.target}/host/include'|g" \
</span> ${worksrcpath}/bfd/configure \
${worksrcpath}/opcodes/configure
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|\$(libdir)|\"${prefix}/${crossbinutils.target}/host/lib\"|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|\$(libdir)|\"${prefix}/${crossbinutils.target}/host/lib\"|g" \
</span> ${worksrcpath}/libiberty/Makefile.in
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/\$(MULTIOSDIR)||g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q "s|/\$(MULTIOSDIR)||g" \
</span> ${worksrcpath}/libiberty/Makefile.in
}
</pre><pre style='margin:0'>
</pre>