<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bd9127068217db9818f450bf10feca4f646e028b">https://github.com/macports/macports-ports/commit/bd9127068217db9818f450bf10feca4f646e028b</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 bd91270 mythtv.28: silence reinplace warnings
</span>bd91270 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit bd9127068217db9818f450bf10feca4f646e028b
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Tue Mar 21 12:49:14 2017 -0400
<span style='display:block; white-space:pre;color:#404040;'> mythtv.28: silence reinplace warnings
</span>---
multimedia/mythtv.28/Portfile | 30 +++++++++++++++++-------------
1 file changed, 17 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/mythtv.28/Portfile b/multimedia/mythtv.28/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 38bddaf..a36bcdd 100755
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/mythtv.28/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/mythtv.28/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,6 +49,13 @@ set pythonbranch 2.7
</span> set pythonver python${pythonbranch}
set pythonbin ${prefix}/bin/${pythonver}
set pymodver py27
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# change to 1 to print reinplace warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set maintainer_mode 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {!$maintainer_mode} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qflag "-q"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set qflag ""
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
subport mythtv-core${majorversion} { }
subport mythtv-plugins${majorversion} { }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -159,15 +166,13 @@ if {$subport eq "mythtv-core${majorversion}"} {
</span>
reinplace -locale C "s|#!/usr/bin/perl|#!${perlbin}|" \
${sedPath}bindings/perl/Makefile.PL \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sedPath}bindings/perl/MythTV.pm \
</span> ${sedPath}contrib/maintenance/optimize_mythdb.pl \
${sedPath}contrib/user_jobs/mythlink.pl \
${sedPath}programs/scripts/database/mythconverg_backup.pl \
${sedPath}programs/scripts/database/mythconverg_restore.pl
reinplace -locale C "s|/usr/local/bin|${prefix}/lib/${mysqlver}/bin|" \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sedPath}programs/scripts/database/mythconverg_backup.pl \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${sedPath}programs/scripts/database/mythconverg_restore.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${sedPath}programs/scripts/database/mythconverg_backup.pl
</span>
ui_info "Record Myth version strings"
reinplace -locale C "s#\${SOURCE_VERSION}#${mythverstring}#g" ${sedPath}version.sh
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -180,24 +185,24 @@ if {$subport eq "mythtv-core${majorversion}"} {
</span> reinplace -locale C "s|/usr/local|${prefix}|" ${worksrcpath}/mythtv/bindings/python/MythTV/static.py
fs-traverse f ${sedPath}/bindings/python/ {
if [string equal [ file extension ${f} ] ".py" ] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|^#! */usr/bin/env python\$|#!${pythonbin}|" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|^#! */usr/bin/env python\$|#!${pythonbin}|" ${f}
</span> }
}
fs-traverse f ${sedPath}/programs/scripts/ {
if [string equal [ file extension ${f} ] ".py" ] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|^#! */usr/bin/env python\$|#!${pythonbin}|" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|^#! */usr/bin/env python\$|#!${pythonbin}|" ${f}
</span> }
}
foreach f [glob -directory ${sedPath}/programs/scripts/hardwareprofile *.py] {
# fix even though they're currently non-functional on OS X
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|^#!/usr/bin/python\$|#!${pythonbin}|" ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|^#!/usr/bin/python\$|#!${pythonbin}|" ${f}
</span> }
foreach {applescript} ${applescripts} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|@APPLICATIONS_DIR@|${applications_dir}|" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|@MYTHTVLOGDIR@|${mythtvlogdir}|" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|@MYTHTVPIDFILE@|${mythtvpidfile}|" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|@APPLICATIONS_DIR@|${applications_dir}|" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|@MYTHTVLOGDIR@|${mythtvlogdir}|" ${worksrcpath}/macports/${applescript}.applescript
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag -locale C "s|@MYTHTVPIDFILE@|${mythtvpidfile}|" ${worksrcpath}/macports/${applescript}.applescript
</span> }
reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/${plistfile}
reinplace -locale C "s|@PLISTLABEL@|${plistlabel}|g" ${worksrcpath}/macports/${plistfile}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -207,7 +212,6 @@ if {$subport eq "mythtv-core${majorversion}"} {
</span> reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/logrotate.conf
reinplace -locale C "s|@PREFIX@|${prefix}|g" ${worksrcpath}/macports/my.cnf
reinplace -locale C "s|@MYTHTVLOGDIR@|${mythtvlogdir}|g" ${worksrcpath}/macports/logrotate.mythtv
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -locale C "s|xxxyyyzzz|${mythtvpidfile}|" ${worksrcpath}/mythtv/configure
</span> }
# Block various compilers:
#
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -531,8 +535,8 @@ if {$subport eq "mythtv-plugins${majorversion}"} {
</span> ${sedPath}configure
# do fixups regardless of whether variant is selected or not
foreach fixfile [exec find ${sedPath}/mythweather/mythweather/scripts -name "*.p?"] {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s;/usr/bin/perl;${perlbin};g" ${fixfile}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s;/usr/share/mythtv;${perlbin};g" ${fixfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag "s;/usr/bin/perl;${perlbin};g" ${fixfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace {*}$qflag "s;/usr/share/mythtv;${perlbin};g" ${fixfile}
</span> }
}
</pre><pre style='margin:0'>
</pre>