pkgsrc/databases/mysql51-server/patches/patch-aj
dholland 4be5ac2c21 Refresh the lists of man pages. Closes PR 38998.
(Because of the partitioning into client and server packages, the man
pages have to be partitioned to match; this interferes with the
configure script's handling of them so the list of pages ends up
hardcoded in these patches. And it seems the lists haven't been
updated since the first mysql 5.x package.)
2015-06-18 04:29:51 +00:00

38 lines
1.8 KiB
Text

$NetBSD: patch-aj,v 1.3 2015/06/18 04:29:51 dholland Exp $
* Install only the man pages corresponding to the binaries that appear
in the server package. Note: this list will need to be refreshed
manually if new man pages appear in the distfile.
Note: owing to complications the section 1 ndb and embedded server man
pages are installed unconditionally, ignoring the package options. The
configure script knows how to turn them off; but it does not know how
to partition the pages between the client and server packges, and
doing both would be Interesting(TM). (And not particularly worthwhile
as this is an old mysql package and probably won't hang around all
that much longer...)
--- man/Makefile.in.orig 2010-07-09 12:38:13.000000000 +0000
+++ man/Makefile.in
@@ -381,7 +381,20 @@ yassl_libs = @yassl_libs@
yassl_taocrypt_extra_cxxflags = @yassl_taocrypt_extra_cxxflags@
yassl_thread_cxxflags = @yassl_thread_cxxflags@
zlib_dir = @zlib_dir@
-man1_MANS = @man1_files@
+man1_MANS = comp_err.1 innochecksum.1 my_print_defaults.1 myisam_ftdump.1 \
+ myisamchk.1 myisamlog.1 myisampack.1 mysql-stress-test.pl.1 \
+ mysql-test-run.pl.1 mysql.server.1 mysql_client_test.1 \
+ mysql_client_test_embedded.1 mysql_install_db.1 \
+ mysql_secure_installation.1 mysql_tzinfo_to_sql.1 \
+ mysql_waitpid.1 mysqld_multi.1 mysqld_safe.1 mysqltest_embedded.1 \
+ ndb-common-options.1 ndb_blob_tool.1 ndb_config.1 ndb_cpcd.1 \
+ ndb_delete_all.1 ndb_desc.1 ndb_drop_index.1 ndb_drop_table.1 \
+ ndb_error_reporter.1 ndb_index_stat.1 ndb_mgm.1 \
+ ndb_print_backup_file.1 ndb_print_schema_file.1 \
+ ndb_print_sys_file.1 ndb_restore.1 ndb_select_all.1 \
+ ndb_select_count.1 ndb_show_tables.1 ndb_size.pl.1 ndb_waiter.1 \
+ ndbd_redo_log_reader.1 ndbinfo_select_all.1 perror.1 replace.1 \
+ resolve_stack_dump.1 resolveip.1
man8_MANS = @man8_files@
EXTRA_DIST = $(man1_MANS) $(man8_MANS)
all: all-am