17626706 The man page for libssh2_sftp_fstatvfs is broken
authorRich Burridge <rich.burridge@oracle.com>
Wed, 23 Oct 2013 09:37:06 -0700
changeset 1521 f6809e8c5110
parent 1520 0cf972526d4b
child 1522 b74fd0949e89
17626706 The man page for libssh2_sftp_fstatvfs is broken
components/libssh2/Makefile
--- a/components/libssh2/Makefile	Tue Oct 22 11:14:37 2013 -0700
+++ b/components/libssh2/Makefile	Wed Oct 23 09:37:06 2013 -0700
@@ -40,6 +40,13 @@
 CONFIGURE_OPTIONS +=   --enable-shared
 CONFIGURE_OPTIONS +=   --disable-static
 
+# Adjust the .so line in the libssh2_sftp_fstatvfs man page to correctly find
+# the file it references (as we place it in the man3ssh2 section on Solaris).
+#
+COMPONENT_POST_INSTALL_ACTION += \
+        $(GSED) -i -e 's|3|3ssh2|g' \
+		$(PROTOUSRSHAREMAN3DIR)/libssh2_sftp_fstatvfs.3;
+
 ASLR_MODE = $(ASLR_NOT_APPLICABLE)
 
 # common targets