<pre style='margin:0'>
Jeremy L (nerdling) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/34eec4b89a0dbbe219e1bf0f1a416e772a47ae7f">https://github.com/macports/macports-ports/commit/34eec4b89a0dbbe219e1bf0f1a416e772a47ae7f</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 34eec4b dbus: access startupitem.install as a bool
</span>34eec4b is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 34eec4b89a0dbbe219e1bf0f1a416e772a47ae7f
</span>Author: Jeremy Lavergne <snc@macports.org>
AuthorDate: Sat Mar 17 11:48:33 2018 -0400
<span style='display:block; white-space:pre;color:#404040;'> dbus: access startupitem.install as a bool
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> notified maintainer and patching as openmaintainer
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> There was already one instance using [tbool ...] so made the remaining
</span><span style='display:block; white-space:pre;color:#404040;'> accesses consistent. This allows building on snowleopard at least.
</span>---
devel/dbus/Portfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/dbus/Portfile b/devel/dbus/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d5d5bcb..176d2e5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/dbus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/dbus/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,7 +63,7 @@ configure.args --disable-doxygen-docs \
</span> --disable-tests
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${startupitem.install} && ![variant_isset no_root]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[tbool ${startupitem.install}] && ![variant_isset no_root]} {
</span> # Disable if installed into startup directory.
reinplace "s|</array>|</array>\\\n\\\n\\\t<key>Disabled</key>\\\n\\\t<true/>|" \
${worksrcpath}/bus/org.freedesktop.dbus-session.plist.in
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -133,7 +133,7 @@ post-destroot {
</span>
close ${plist}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${startupitem.install} && ![variant_isset no_root]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[tbool ${startupitem.install}] && ![variant_isset no_root]} {
</span> xinstall -d -m 0755 ${destroot}/Library/LaunchDaemons
xinstall -d -m 0755 ${destroot}/Library/LaunchAgents
ln -s ${prefix}/Library/LaunchDaemons/org.freedesktop.dbus-system.plist ${destroot}/Library/LaunchDaemons
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -154,7 +154,7 @@ post-activate {
</span> }
#pre-deactivate {
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# if {${startupitem.install} && ![variant_isset no_root]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# if {[tbool ${startupitem.install}] && ![variant_isset no_root]} {
</span> # catch {system "launchctl unload /Library/LaunchDaemons/org.freedesktop.dbus-system.plist"}
# catch {system "launchctl unload /Library/LaunchAgents/org.freedesktop.dbus-session.plist"}
# }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -172,7 +172,7 @@ variant test description {enable tests (Only Works if dbus is Already Installed)
</span> configure.python ${prefix}/bin/python2.7
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${startupitem.install} && ![variant_isset no_root]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[tbool ${startupitem.install}] && ![variant_isset no_root]} {
</span> notes "############################################################################
# Startup items have been generated that will aid in
# starting ${name} with launchd. They are disabled
</pre><pre style='margin:0'>
</pre>