freebsd-ports/databases/mysql323-server/files/patch-mysys_default.c
Alex Dupre 34d3ab84b0 - 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)
- Add the possibility to specify additional command-line arguments
  to be passed to mysqld_safe on startup

PR:		ports/79166 [1], ports/79597 [2]
Submitted by:	Sergey Prikhodko <sergey@network-asp.biz> [1],
		Vasil Dimov <vd@datamax.bg> [2]
2005-04-11 09:33:11 +00:00

13 lines
261 B
C

--- mysys/default.c.orig Mon Apr 11 10:56:31 2005
+++ mysys/default.c Mon Apr 11 10:57:04 2005
@@ -50,9 +50,7 @@
"C:/",
#else
"/etc/",
-#endif
-#ifdef DATADIR
-DATADIR,
+"%%PREFIX%%/etc/",
#endif
"", /* Place for defaults_extra_dir */
#ifndef __WIN__