summaryrefslogtreecommitdiff
path: root/databases/mysql51-server/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql51-server/Makefile')
-rw-r--r--databases/mysql51-server/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 12f0fd1345f..4a54acadeba 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2014/02/12 23:17:39 tron Exp $
+# $NetBSD: Makefile,v 1.20 2014/03/11 14:34:36 jperkin Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
PKGREVISION= 1
@@ -52,6 +52,8 @@ PKG_HOME.${MYSQL_USER}= ${MYSQL_DATADIR}
PKG_SHELL.${MYSQL_USER}= ${SH}
RCD_SCRIPTS= mysqld
+SMF_NAME= mysql
+SMF_METHODS= ${RCD_SCRIPTS}
FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q} \
MYSQL_DATADIR=${MYSQL_DATADIR} \