summaryrefslogtreecommitdiff
path: root/sysutils/usermin/files/patch-mysql_config-freebsd
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/usermin/files/patch-mysql_config-freebsd')
-rw-r--r--sysutils/usermin/files/patch-mysql_config-freebsd25
1 files changed, 25 insertions, 0 deletions
diff --git a/sysutils/usermin/files/patch-mysql_config-freebsd b/sysutils/usermin/files/patch-mysql_config-freebsd
new file mode 100644
index 000000000000..03d51792c13b
--- /dev/null
+++ b/sysutils/usermin/files/patch-mysql_config-freebsd
@@ -0,0 +1,25 @@
+
+$FreeBSD$
+
+--- mysql/config-freebsd.orig
++++ mysql/config-freebsd
+@@ -1,12 +1,12 @@
+-start_cmd=(/usr/local/bin/safe_mysqld || /usr/local/bin/mysqld_safe) &
++start_cmd=(%%PREFIX%%/bin/safe_mysqld || %%PREFIX%%/bin/mysqld_safe) &
+ perpage=25
+-mysql=/usr/local/bin/mysql
+-mysqldump=/usr/local/bin/mysqldump
+-mysqlimport=/usr/local/bin/mysqlimport
+-mysqlshow=/usr/local/bin/mysqlshow
++mysql=%%PREFIX%%/bin/mysql
++mysqldump=%%PREFIX%%/bin/mysqldump
++mysqlimport=%%PREFIX%%/bin/mysqlimport
++mysqlshow=%%PREFIX%%/bin/mysqlshow
+ login=root
+-mysql_libs=/usr/local/lib/mysql
+-mysqladmin=/usr/local/bin/mysqladmin
++mysql_libs=%%PREFIX%%/lib/mysql
++mysqladmin=%%PREFIX%%/bin/mysqladmin
+ style=0
+ add_mode=0
+ nodbi=0