Bug 163609

Summary: databases/mysql-udf-preg installs files in wrong place
Product: Ports & Packages Reporter: Pawel Pekala <pawel>
Component: Individual Port(s)Assignee: Philip M. Gollucci <pgollucci>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 14:50:07 UTC
This port installs mysql plugins in dir ${PREFIX}/mysql/lib/plugins,
but mysqld [1] expects them to be in ${PREFIX}/mysql/lib/plugin:

[corn:/home/corn]# mysql < /usr/local/share/mysql-udf-preg/installdb.sql
ERROR 1126 (HY000) at line 3: Can't open shared library 'lib_mysqludf_preg.so' (errno: 0 Cannot open "/usr/local/lib/mysql/plugin/lib_mysqludf_preg.so")

[1] http://dev.mysql.com/doc/refman/5.5/en/server-system-variables.html#sysvar_plugin_dir

Attached patch fixes issue for me.

Fix: Patch attached with submission follows:
Comment 1 Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 21:25:55 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pawel

misspelled port name
Comment 2 Pawel Pekala freebsd_committer freebsd_triage 2011-12-25 21:37:05 UTC
Responsible Changed
From-To: pawel->pgollucci

misspelled port name
Comment 3 Philip M. Gollucci freebsd_committer freebsd_triage 2012-01-17 04:48:06 UTC
State Changed
From-To: open->closed

Committed, Thanks!
Comment 4 dfilter service freebsd_committer freebsd_triage 2012-01-17 04:48:12 UTC
pgollucci    2012-01-17 04:48:02 UTC

  FreeBSD ports repository

  Modified files:
    databases/mysql-udf-preg Makefile 
  Log:
  - s/plugins/plugin/g so that its where mysqld expects them
  - Bump PORTREVISION
  
  PR:             ports/163609
  Submitted by:   pawel
  
  Revision  Changes    Path
  1.2       +6 -5      ports/databases/mysql-udf-preg/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"