diff options
author | rodent <rodent@pkgsrc.org> | 2014-04-14 00:02:49 +0000 |
---|---|---|
committer | rodent <rodent@pkgsrc.org> | 2014-04-14 00:02:49 +0000 |
commit | 7a07bb5d11bd11e6319b59ecb79255df84912ac5 (patch) | |
tree | e2a8c1b0846cb4132dabce46b5860e84c3f34406 /databases/mysql51-client | |
parent | e1d4b82ac299a4c4cf276f1330a6835ebaec24ca (diff) | |
download | pkgsrc-7a07bb5d11bd11e6319b59ecb79255df84912ac5.tar.gz |
Don't hardcode PID file. Instead, give the user the option to set it. The
rc.d script overrides my.cnf directives. Hardcoding the PID can cause a
problem on systems transitioning to MySQL packages from pkgsrc.
Diffstat (limited to 'databases/mysql51-client')
-rw-r--r-- | databases/mysql51-client/Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/mysql51-client/Makefile.common b/databases/mysql51-client/Makefile.common index 03b0b8aa62f..76a8f15616d 100644 --- a/databases/mysql51-client/Makefile.common +++ b/databases/mysql51-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.30 2013/10/01 11:00:39 adam Exp $ +# $NetBSD: Makefile.common,v 1.31 2014/04/14 00:02:49 rodent Exp $ # # used by databases/mysql51-client/Makefile # used by databases/mysql51-server/Makefile @@ -23,9 +23,11 @@ EXTRACT_USING= bsdtar # MYSQL_GROUP group of the database administrator # MYSQL_DATADIR home directory of the database administrator and # location of the databases +# MYSQL_PIDFILE process ID file MYSQL_USER?= mysql MYSQL_GROUP?= mysql MYSQL_DATADIR?= ${VARBASE}/mysql +MYSQL_PIDFILE?= ${MYSQL_DATADIR}/${HOST}.pid PKG_USERS_VARS+= MYSQL_USER PKG_GROUPS_VARS+= MYSQL_GROUP |