summaryrefslogtreecommitdiffstats
path: root/databases/mysql51-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-08 08:58:24 +0000
committerale <ale@FreeBSD.org>2004-03-08 08:58:24 +0000
commit4f43716f2ff682fc18c7a7a6b6313f0f76b55a04 (patch)
tree34eec7c4e543eb16cff94af44915315c77eb14c8 /databases/mysql51-server
parentbb407b55011579c624b705388975519b891a9a6a (diff)
downloadFreeBSD-ports-4f43716f2ff682fc18c7a7a6b6313f0f76b55a04.zip
FreeBSD-ports-4f43716f2ff682fc18c7a7a6b6313f0f76b55a04.tar.gz
Fix mysql default db installation.
Noticed by: many
Diffstat (limited to 'databases/mysql51-server')
-rw-r--r--databases/mysql51-server/Makefile7
-rw-r--r--databases/mysql51-server/pkg-plist1
-rw-r--r--databases/mysql51-server/pkg-plist.scripts1
3 files changed, 4 insertions, 5 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 69e5046..9db3fbe 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mysql
PORTVERSION= 5.0.0
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= databases
MASTER_SITES= ftp://planetmirror.com/pub/mysql/Downloads/MySQL-5.0/ \
http://www.softagency.co.jp/MySQL/Downloads/MySQL-5.0/ \
@@ -142,7 +142,7 @@ pre-fetch:
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = include @docs_dirs@ @sql_server_dirs@ scripts man support-files|g" ${WRKSRC}/Makefile.in
- @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@|g" ${WRKSRC}/scripts/Makefile.in
+ @${REINPLACE_CMD} -e "s|bin_SCRIPTS =|bin_SCRIPTS = @server_scripts@ mysql_create_system_tables|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|dist_pkgdata_DATA =|dist_pkgdata_DATA = fill_help_tables.sql|g" ${WRKSRC}/scripts/Makefile.in
@${REINPLACE_CMD} -e "s|man_MANS =|man_MANS = ${MAN1}|g" ${WRKSRC}/man/Makefile.in
@${REINPLACE_CMD} -e "s|install: install-am|install:|g" ${WRKSRC}/include/Makefile.in
@@ -221,8 +221,7 @@ MAN1= mysql_zap.1 mysqlaccess.1 mysqld_multi.1 mysql_fix_privilege_tables.1
SCRIPTS= msql2mysql mysql_fix_extensions mysql_setpermission \
mysql_secure_installation mysql_zap mysqlaccess \
mysql_convert_table_format mysql_find_rows mysqlhotcopy \
- mysqldumpslow mysql_explain_log mysql_tableinfo mysqld_multi \
- mysql_create_system_tables
+ mysqldumpslow mysql_explain_log mysql_tableinfo mysqld_multi
post-patch:
@${REINPLACE_CMD} -e "s|SUBDIRS =|SUBDIRS = scripts man|g" ${WRKSRC}/Makefile.in
diff --git a/databases/mysql51-server/pkg-plist b/databases/mysql51-server/pkg-plist
index 8e466ec..b50c526 100644
--- a/databases/mysql51-server/pkg-plist
+++ b/databases/mysql51-server/pkg-plist
@@ -5,6 +5,7 @@ bin/my_print_defaults
bin/myisamchk
bin/myisamlog
bin/myisampack
+bin/mysql_create_system_tables
bin/mysql_install_db
bin/mysql_waitpid
bin/mysqld_safe
diff --git a/databases/mysql51-server/pkg-plist.scripts b/databases/mysql51-server/pkg-plist.scripts
index 5a8bc1c..f77f27a 100644
--- a/databases/mysql51-server/pkg-plist.scripts
+++ b/databases/mysql51-server/pkg-plist.scripts
@@ -1,6 +1,5 @@
bin/msql2mysql
bin/mysql_convert_table_format
-bin/mysql_create_system_tables
bin/mysql_explain_log
bin/mysql_find_rows
bin/mysql_fix_extensions
OpenPOWER on IntegriCloud