Ticket #5302: mysql4.diff

File mysql4.diff, 690 bytes (added by joe@…, 19 years ago)

mysql4 patch

  • databases/mysql4/Portfile

    old new  
    8484                  --with-mysqld-user=mysql
    8585
    8686variant server  {
    87         startupitem.create      yes
    88         startupitem.start       "${prefix}/bin/mysqld_safe --user=mysql --pid-file=${prefix}/var/run/mysqld/mysqld.pid"
    89         startupitem.stop        "/usr/bin/kill -15 \$(cat ${prefix}/var/run/mysqld/mysqld.pid)"
     87        # Create a startupitem to start/stop the server
     88    startupitem.create    yes
     89    startupitem.start    "${prefix}/share/mysql/mysql.server start"
     90    startupitem.stop    "${prefix}/share/mysql/mysql.server stop"
    9091}
    9192
    9293pre-destroot    {