summaryrefslogtreecommitdiff
path: root/chat/xchat/options.mk
diff options
context:
space:
mode:
authorjlam <jlam>2008-04-12 22:42:57 +0000
committerjlam <jlam>2008-04-12 22:42:57 +0000
commit9ff693053b2b42cd6a29b886e071ad01acdeefe2 (patch)
treefdd67c81079412bf94013749a954125434a9baca /chat/xchat/options.mk
parent4a580ef74536ed1f7c6a7ecd5a26e46a93aec9b3 (diff)
downloadpkgsrc-9ff693053b2b42cd6a29b886e071ad01acdeefe2.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'chat/xchat/options.mk')
-rw-r--r--chat/xchat/options.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/chat/xchat/options.mk b/chat/xchat/options.mk
index 7493b44d450..fb2d11ccce8 100644
--- a/chat/xchat/options.mk
+++ b/chat/xchat/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.10 2007/09/25 15:38:54 hira Exp $
+# $NetBSD: options.mk,v 1.11 2008/04/12 22:42:58 jlam Exp $
.include "../../mk/bsd.prefs.mk"
@@ -11,6 +11,8 @@ PKG_SUGGESTED_OPTIONS= ssl
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= dbus
+
###
### Use OpenSSL libraries for connecting to ircs servers
###
@@ -49,7 +51,7 @@ CONFIGURE_ARGS+= --disable-shm
###
.if !empty(PKG_OPTIONS:Mgnome)
CONFIGURE_ARGS+= --enable-dbus
-PLIST_SUBST+= GNOME=""
+PLIST.dbus= yes
SUBST_CLASSES+= gconf
SUBST_STAGE.gconf+= pre-configure
SUBST_MESSAGE.gconf+= Disabling schema registration/installation.
@@ -61,7 +63,6 @@ USE_DIRS+= gnome2-1.5
.else
# We set this to ${FALSE} to avoid detection.
CONFIGURE_ARGS+= --disable-dbus
-PLIST_SUBST= GNOME="@comment "
USE_DIRS+= xdg-1.1
.endif