summaryrefslogtreecommitdiff
path: root/net/ser
diff options
context:
space:
mode:
Diffstat (limited to 'net/ser')
-rw-r--r--net/ser/PLIST4
-rw-r--r--net/ser/options.mk7
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