diff options
author | Alex Dupre <ale@FreeBSD.org> | 2005-04-11 09:31:05 +0000 |
---|---|---|
committer | Alex Dupre <ale@FreeBSD.org> | 2005-04-11 09:31:05 +0000 |
commit | 9fa3b2eaebe31c58a4056e51342adc3286877f20 (patch) | |
tree | f1ac31eb9b5cf919476318522c94579db0439155 /databases/mysql54-server/files/patch-mysys_default.c | |
parent | 2baf749a2036ba0b3b1916cfd62b038bc6f69014 (diff) |
- Use the rcNG script to kill MySQL on deinstallation [1]
- Set the new sequence for finding my.cnf files [2]:
/etc, ${PREFIX}/etc, ${mysql_dbdir}
(default to: /etc/my.cnf, /usr/local/etc/my.cnf, /var/db/mysql/my.cnf)
PR: ports/79166 [1], ports/79597 [2]
Submitted by: Sergey Prikhodko <sergey@network-asp.biz> [1],
Vasil Dimov <vd@datamax.bg> [2]
Notes
Notes:
svn path=/head/; revision=133014
Diffstat (limited to 'databases/mysql54-server/files/patch-mysys_default.c')
-rw-r--r-- | databases/mysql54-server/files/patch-mysys_default.c | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/databases/mysql54-server/files/patch-mysys_default.c b/databases/mysql54-server/files/patch-mysys_default.c new file mode 100644 index 000000000000..af61098b1855 --- /dev/null +++ b/databases/mysql54-server/files/patch-mysys_default.c @@ -0,0 +1,13 @@ +--- mysys/default.c.orig Mon Apr 11 11:17:07 2005 ++++ mysys/default.c Mon Apr 11 11:27:25 2005 +@@ -703,9 +703,8 @@ + *ptr++= "sys:/etc/"; + #else + *ptr++= "/etc/"; ++ *ptr++= "%%PREFIX%%/etc/"; + #endif +- if ((env= getenv(STRINGIFY_ARG(DEFAULT_HOME_ENV)))) +- *ptr++= env; + *ptr++= ""; /* Place for defaults_extra_file */ + #if !defined(__WIN__) && !defined(__NETWARE__) + *ptr++= "~/";; |