diff options
author | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:12:59 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2006-10-31 17:12:59 +0800 |
commit | 794b95a96feb2d5aaeef025b4c65bb14889e54a7 (patch) | |
tree | ead8c7155155958c61eaac640610523b8cb11093 /devel/dbus | |
parent | 03c2730b36418846d9b49ab533465ece9a54db38 (diff) | |
download | freebsd-ports-gnome-794b95a96feb2d5aaeef025b4c65bb14889e54a7.tar.gz freebsd-ports-gnome-794b95a96feb2d5aaeef025b4c65bb14889e54a7.tar.zst freebsd-ports-gnome-794b95a96feb2d5aaeef025b4c65bb14889e54a7.zip |
Start dbus if gnome_enable is set to yes in /etc/rc.conf
Diffstat (limited to 'devel/dbus')
-rw-r--r-- | devel/dbus/Makefile | 3 | ||||
-rw-r--r-- | devel/dbus/files/dbus.in | 4 |
2 files changed, 5 insertions, 2 deletions
diff --git a/devel/dbus/Makefile b/devel/dbus/Makefile index 296f744d3077..937931828e07 100644 --- a/devel/dbus/Makefile +++ b/devel/dbus/Makefile @@ -7,7 +7,7 @@ PORTNAME= dbus PORTVERSION?= 0.94 -PORTREVISION?= 0 +PORTREVISION?= 1 CATEGORIES= devel gnome MASTER_SITES= http://dbus.freedesktop.org/releases/dbus/ @@ -33,6 +33,7 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ .if !defined(DBUS_SLAVE) USE_RC_SUBR= dbus +USE_GNOME_SUBR= yes PLIST_SUB= VERSION="1.0" diff --git a/devel/dbus/files/dbus.in b/devel/dbus/files/dbus.in index 61638229f36b..206fe38a2997 100644 --- a/devel/dbus/files/dbus.in +++ b/devel/dbus/files/dbus.in @@ -10,7 +10,9 @@ # dbus_enable="YES" # -dbus_enable=${dbus_enable-"NO"} +. %%GNOME_SUBR%% + +dbus_enable=${dbus_enable-${gnome_enable}} dbus_flags=${dbus_flags-"--system"} . %%RC_SUBR%% |