aboutsummaryrefslogtreecommitdiffstats
path: root/databases/mysql41-server
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-08 16:58:24 +0800
committerale <ale@FreeBSD.org>2004-03-08 16:58:24 +0800
commit4f43716f2ff682fc18c7a7a6b6313f0f76b55a04 (patch)
tree34eec7c4e543eb16cff94af44915315c77eb14c8 /databases/mysql41-server
parentbb407b55011579c624b705388975519b891a9a6a (diff)
downloadfreebsd-ports-gnome-4f43716f2ff682fc18c7a7a6b6313f0f76b55a04.tar.gz
freebsd-ports-gnome-4f43716f2ff682fc18c7a7a6b6313f0f76b55a04.tar.zst
freebsd-ports-gnome-4f43716f2ff682fc18c7a7a6b6313f0f76b55a04.zip
Fix mysql default db installation.
Noticed by: many
Diffstat (limited to 'databases/mysql41-server')
-rw-r--r--databases/mysql41-server/Makefile7
-rw-r--r--databases/mysql41-server/pkg-plist1
-rw-r--r--databases/mysql41-server/pkg-plist.scripts1
3 files changed, 4 insertions, 5 deletions
diff --git a/databases/mysql41-server/Makefile b/databases/mysql41-server/Makefile
index 6bcbbfdc8ee0..127f7d5912d1 100644
--- a/databases/mysql41-server/Makefile
+++ b/databases/mysql41-server/Makefile
@@ -7,7 +7,7 @@
PORTNAME?= mysql
PORTVERSION= 4.1.1
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= databases
MASTER_SITES= ftp://planetmirror.com/pub/mysql/Downloads/MySQL-4.1/ \
http://www.softagency.co.jp/MySQL/Downloads/MySQL-4.1/ \
@@ -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/mysql41-server/pkg-plist b/databases/mysql41-server/pkg-plist
index 8e466ecb4074..b50c526d693f 100644
--- a/databases/mysql41-server/pkg-plist
+++ b/databases/mysql41-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/mysql41-server/pkg-plist.scripts b/databases/mysql41-server/pkg-plist.scripts
index 5a8bc1cfb7de..f77f27a1839c 100644
--- a/databases/mysql41-server/pkg-plist.scripts
+++ b/databases/mysql41-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