diff options
author | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2008-04-12 22:42:57 +0000 |
commit | 841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /lang/elk/options.mk | |
parent | 6874584eae20f517f70816571f6d4ac696db16b3 (diff) | |
download | pkgsrc-841dfa0e7aaa6a0f0cce2901291d1d938dd0fc0a.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'lang/elk/options.mk')
-rw-r--r-- | lang/elk/options.mk | 20 |
1 files changed, 8 insertions, 12 deletions
diff --git a/lang/elk/options.mk b/lang/elk/options.mk index a0f155fe8de..9da6e4d7724 100644 --- a/lang/elk/options.mk +++ b/lang/elk/options.mk @@ -1,4 +1,4 @@ -# $NetBSD: options.mk,v 1.2 2007/08/17 22:27:15 joerg Exp $ +# $NetBSD: options.mk,v 1.3 2008/04/12 22:43:02 jlam Exp $ # Global and legacy options @@ -8,28 +8,24 @@ PKG_SUGGESTED_OPTIONS= .include "../../mk/bsd.options.mk" +PLIST_VARS+= x11 xaw motif + ### ### x11 support ### .if !empty(PKG_OPTIONS:Mxaw) || !empty(PKG_OPTIONS:Mmotif) -PLIST_SUBST+= WITHX11="" +PLIST.x11= yes . if !empty(PKG_OPTIONS:Mxaw) -PLIST_SUBST+= WITHXAW="" -ELK_AWK="yes" +PLIST.xaw= yes +CONFIGURE_ENV+= WITH_XAW="yes" . include "../../mk/xaw.buildlink3.mk" . else -PLIST_SUBST+= WITHXAW="@comment " -ELK_AWK="no" +CONFIGURE_ENV+= WITH_XAW="no" . endif . if !empty(PKG_OPTIONS:Mmotif) . include "../../mk/motif.buildlink3.mk" -PLIST_SUBST+= WITHMOTIF="" -. else -PLIST_SUBST+= WITHMOTIF="@comment " +PLIST.motif= yes . endif .else CONFIGURE_ARGS+= --without-x -PLIST_SUBST+= WITHMOTIF="@comment " -PLIST_SUBST+= WITHX11="@comment " -PLIST_SUBST+= WITHXAW="@comment " .endif |