When built with the BUILD_STATIC knob, plugins are compiled statically in to the mysqld binary, however, the installation process still creates the plugin directory. This directory remains empty and is not removed when the package is deinstalled due to the expansion of %%PLUGINS%% to @comment. ===> Installing for mysql-server-5.1.52 ===> mysql-server-5.1.52 depends on shared library: mysqlclient.16 - found ===> Generating temporary packing list ===> Checking if databases/mysql51-server already installed ===> Creating users and/or groups. Using existing group `mysql'. Using existing user `mysql'. [removed] Making install in archive test -z "/usr/local/lib/mysql/plugin" || ../.././install-sh -c -d "/usr/local/lib/mysql/plugin" Making install in blackhole test -z "/usr/local/lib/mysql/plugin" || ../.././install-sh -c -d "/usr/local/lib/mysql/plugin" Making install in csv test -z "/usr/local/lib/mysql" || ../.././install-sh -c -d "/usr/local/lib/mysql" Making install in federated test -z "/usr/local/lib/mysql/plugin" || ../.././install-sh -c -d "/usr/local/lib/mysql/plugin" Making install in heap test -z "/usr/local/lib/mysql" || ../.././install-sh -c -d "/usr/local/lib/mysql" install -o root -g wheel -m 444 'libheap.a' '/usr/local/lib/mysql/libheap.a' ranlib '/usr/local/lib/mysql/libheap.a' Making install in innobase test -z "/usr/local/lib/mysql/plugin" || ../.././install-sh -c -d "/usr/local/lib/mysql/plugin" Though there is nothing to install in the above output, install-sh appears to still create the directory. Fix: Patch supplied. How-To-Repeat: bender# cd /usr/ports/databases/mysql51-server bender# make install clean BUILD_STATIC=YES bender# make deinstall bender# find /usr/local/lib/mysql/plugin /usr/local/lib/mysql/plugin bender#
Responsible Changed From-To: freebsd-ports-bugs->ale Over to maintainer (via the GNATS Auto Assign Tool)
ale 2010-11-23 08:29:34 UTC FreeBSD ports repository Modified files: databases/mysql51-server Makefile distinfo pkg-plist Log: Update to 5.1.53 release. Fix plist when BUILD_STATIC is set. [1] PR: ports/152076 [1] Submitted by: Jarrod Sayers <jarrod@downtools.com.au> Revision Changes Path 1.271 +1 -1 ports/databases/mysql51-server/Makefile 1.130 +2 -2 ports/databases/mysql51-server/distinfo 1.88 +1 -1 ports/databases/mysql51-server/pkg-plist _______________________________________________ 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"
State Changed From-To: open->closed Fixed, thanks!