summaryrefslogtreecommitdiff
path: root/net/arla
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
committerjlam <jlam@pkgsrc.org>2008-04-12 22:42:57 +0000
commit841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch)
treefdd67c81079412bf94013749a954125434a9baca /net/arla
parent6874584eae20f517f70816571f6d4ac696db16b3 (diff)
downloadpkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'net/arla')
-rw-r--r--net/arla/PLIST4
-rw-r--r--net/arla/options.mk7
2 files changed, 6 insertions, 5 deletions
diff --git a/net/arla/PLIST b/net/arla/PLIST
index 9a20f3ae99e..42af52a24bd 100644
--- a/net/arla/PLIST
+++ b/net/arla/PLIST
@@ -1,7 +1,7 @@
-@comment $NetBSD: PLIST,v 1.21 2006/08/24 17:59:04 wennmach Exp $
+@comment $NetBSD: PLIST,v 1.22 2008/04/12 22:43:08 jlam Exp $
bin/afsfsperf
bin/afstool
-${X11_SUPPORT}bin/amon
+${PLIST.x11}bin/amon
bin/arla-send-pr
bin/bos
bin/fs
diff --git a/net/arla/options.mk b/net/arla/options.mk
index 2bf5f2efc22..d3c414a5384 100644
--- a/net/arla/options.mk
+++ b/net/arla/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.3 2007/08/17 21:03:51 joerg Exp $
+# $NetBSD: options.mk,v 1.4 2008/04/12 22:43:08 jlam Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.arla
PKG_SUPPORTED_OPTIONS= x11
@@ -6,11 +6,12 @@ PKG_SUGGESTED_OPTIONS=
.include "../../mk/bsd.options.mk"
+PLIST_VARS+= x11
+
.if !empty(PKG_OPTIONS:Mx11)
CONFIGURE_ARGS+= --with-x
-PLIST_SUBST+= X11_SUPPORT=
+PLIST.x11= yes
.include "../../x11/libXaw/buildlink3.mk"
.else
CONFIGURE_ARGS+= --without-x
-PLIST_SUBST+= X11_SUPPORT='@comment '
.endif