summaryrefslogtreecommitdiff
path: root/databases/mysql55-client
diff options
context:
space:
mode:
authortron <tron>2012-12-22 10:56:14 +0000
committertron <tron>2012-12-22 10:56:14 +0000
commite7c3861d1da0e39e102893b2b8496416911101ec (patch)
tree496498f66ff79a2b63022c95a837a20b4251849a /databases/mysql55-client
parentf3ee79130c8fbdc7d6aced2e3cb2dc8fb0486b06 (diff)
downloadpkgsrc-e7c3861d1da0e39e102893b2b8496416911101ec.tar.gz
Fix mysql_client_test_embedded(1) and mysqltest_embedded(1) manual pages
in case the package gets built with manual page compression. Bump package revivison because of this bug fix.
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r--databases/mysql55-client/Makefile14
1 files changed, 12 insertions, 2 deletions
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index b650af2073a..064ec73fc3b 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2012/10/03 21:54:13 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2012/12/22 10:56:14 tron Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
-PKGREVISION= 1
+PKGREVISION= 2
SVR4_PKGNAME= mysqc
COMMENT= MySQL 5, a free SQL database (client)
@@ -25,5 +25,15 @@ REPLACE_PERL+= scripts/mysqld_multi.sh
REPLACE_PERL+= scripts/mysqldumpslow.sh
REPLACE_PERL+= scripts/mysqlhotcopy.sh
+# Replace manual pages which only include other ones with a symbolic link
+# if manual compression is activated. The manual pages won't work otherwise.
+.if defined(MANZ)
+post-install:
+. for FILE in mysql_client_test_embedded.1 mysqltest_embedded.1
+ ${RM} -f ${DESTDIR}${PREFIX}/man/man1/${FILE}
+ ${LN} -s ${FILE:S/_embedded//} ${DESTDIR}${PREFIX}/man/man1/${FILE}
+. endfor
+.endif
+
.include "../../devel/readline/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"