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/mysql55-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/mysql55-client')
-rw-r--r-- | databases/mysql55-client/Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/databases/mysql55-client/Makefile.common b/databases/mysql55-client/Makefile.common index d05c38cd907..d1ea803147c 100644 --- a/databases/mysql55-client/Makefile.common +++ b/databases/mysql55-client/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.35 2014/03/31 08:03:22 adam Exp $ +# $NetBSD: Makefile.common,v 1.36 2014/04/14 00:02:49 rodent Exp $ # # used by databases/mysql55-client/Makefile # used by databases/mysql55-server/Makefile @@ -25,11 +25,13 @@ USE_TOOLS+= bash gmake perl:run # MYSQL_USER username of the database administrator # MYSQL_GROUP group of the database administrator # MYSQL_DATADIR home directory (location of the databases) +# MYSQL_PIDFILE process ID file # MYSQL_CHARSET default character set # MYSQL_EXTRA_CHARSET additional character set to be compiled in MYSQL_USER?= mysql MYSQL_GROUP?= mysql MYSQL_DATADIR?= ${VARBASE}/mysql +MYSQL_PIDFILE?= ${MYSQL_DATADIR}/${HOST}.pid MYSQL_CHARSET?= latin1 MYSQL_COLLATION?= latin1_swedish_ci MYSQL_EXTRA_CHARSET?= all |