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 | 31597853cc377bc7f255d79b8cbdba990fd506a1 (patch) | |
tree | fdd67c81079412bf94013749a954125434a9baca /net/ser | |
parent | d9176ab5ada46cb1a5d0b147d1c9ac9ba38136d0 (diff) | |
download | pkgsrc-31597853cc377bc7f255d79b8cbdba990fd506a1.tar.gz |
Convert to use PLIST_VARS instead of manually passing "@comment "
through PLIST_SUBST to the plist module.
Diffstat (limited to 'net/ser')
-rw-r--r-- | net/ser/PLIST | 4 | ||||
-rw-r--r-- | net/ser/options.mk | 7 |
2 files changed, 5 insertions, 6 deletions
diff --git a/net/ser/PLIST b/net/ser/PLIST index 99346506b79..0f71f78d2f2 100644 --- a/net/ser/PLIST +++ b/net/ser/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2007/06/01 00:26:36 wiz Exp $ +@comment $NetBSD: PLIST,v 1.3 2008/04/12 22:43:08 jlam Exp $ sbin/ser sbin/serctl sbin/ser_mysql.sh @@ -18,7 +18,7 @@ lib/ser/modules/mangler.so lib/ser/modules/maxfwd.so lib/ser/modules/mediaproxy.so lib/ser/modules/msilo.so -${WITH_MYSQL}lib/ser/modules/mysql.so +${PLIST.mysql}lib/ser/modules/mysql.so lib/ser/modules/nathelper.so lib/ser/modules/pa.so lib/ser/modules/pdt.so diff --git a/net/ser/options.mk b/net/ser/options.mk index 57d0b5751e7..41eab5bbda9 100644 --- a/net/ser/options.mk +++ b/net/ser/options.mk @@ -1,14 +1,13 @@ -# $NetBSD: options.mk,v 1.1 2007/06/01 00:26:36 wiz Exp $ +# $NetBSD: options.mk,v 1.2 2008/04/12 22:43:08 jlam Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.ser PKG_SUPPORTED_OPTIONS= mysql .include "../../mk/bsd.options.mk" +PLIST_VARS+= mysql .if !empty(PKG_OPTIONS:Mmysql) MAKE_ENV+= include_modules="mysql" .include "../../mk/mysql.buildlink3.mk" -PLIST_SUBST+= WITH_MYSQL="" -.else -PLIST_SUBST+= WITH_MYSQL="@comment " +PLIST.mysql= yes .endif |