[119921] trunk/dports/devel/dbus/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Sat May 10 07:05:11 PDT 2014
Revision: 119921
https://trac.macports.org/changeset/119921
Author: mcalhoun at macports.org
Date: 2014-05-10 07:05:10 -0700 (Sat, 10 May 2014)
Log Message:
-----------
dbus:
* version update 1.8.0->1.8.2 (fixes #43631)
* only install startup files in user home directory if startupitem.install is true
* add explicit warning about using test variant (closest thing to a fix for #30088)
* add more (circular) dependencies to enable tests
Modified Paths:
--------------
trunk/dports/devel/dbus/Portfile
Modified: trunk/dports/devel/dbus/Portfile
===================================================================
--- trunk/dports/devel/dbus/Portfile 2014-05-10 13:07:24 UTC (rev 119920)
+++ trunk/dports/devel/dbus/Portfile 2014-05-10 14:05:10 UTC (rev 119921)
@@ -6,7 +6,7 @@
name dbus
conflicts dbus-devel
-version 1.8.0
+version 1.8.2
maintainers mcalhoun openmaintainer
categories devel
platforms darwin
@@ -19,8 +19,8 @@
homepage http://www.freedesktop.org/Software/dbus
master_sites http://dbus.freedesktop.org/releases/dbus
-checksums rmd160 f0a4e143d7bd9d97cee1e0e59140e17eee92c132 \
- sha256 769f8c7282b535ccbe610f63a5f14137a5549834b0b0c8a783e90891b8d70b13
+checksums rmd160 5ca50a12dd5bbdab55ed83a1a0eba3535d1e810a \
+ sha256 5689f7411165adc953f37974e276a3028db94447c76e8dd92efe910c6d3bae08
# See r59386
# See r68276
@@ -40,6 +40,8 @@
set dbus_user ${install.user}
set dbus_group ${install.group}
+ # look for place to install startup files
+ if { [tbool startupitem.install] } {
# See #28121 and #42994
#set startup_root [join [lrange [exec /usr/bin/dscl . -read Users/${install.user} NFSHomeDirectory] 1 end]]
#set startup_root [join [lrange [exec /usr/bin/dscl '/Active Directory/All Domains' -read Users/${install.user} NFSHomeDirectory] 1 end]]
@@ -61,6 +63,7 @@
} else {
}
+ }
} else {
if { [variant_isset underscore] } {
set dbus_user _messagebus
@@ -241,12 +244,14 @@
# XXX Building with tests enabled causes dbus to link with dbus-glib,
# which it shouldn't do because that port depends on this one: see #30088
-variant test description {enable tests} {
- configure.args-delete --disable-tests
- #configure.args-append --enable-tests
- configure.args-append --enable-modular-tests
+variant test description {enable tests (Only Works if ${name} is Already Installed)} {
+ ui_warn "This variant requires circular dependencies and only works when ${name} is already installed"
+
+ configure.args-replace --disable-tests --enable-tests
configure.args-append --without-dbus-glib
- depends_lib-append port:glib2
+ depends_build-append port:glib2
+ depends_build-append port:python27 port:dbus-python27 port:py27-gobject port:dbus-python
+ configure.python ${prefix}/bin/python2.7
}
if { [info exists startup_root] } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140510/0e772b2d/attachment.html>
More information about the macports-changes
mailing list