diff options
author | tron <tron> | 2012-12-22 10:56:14 +0000 |
---|---|---|
committer | tron <tron> | 2012-12-22 10:56:14 +0000 |
commit | b86aed21d8b9839cff2af89f16f75ff596829ae2 (patch) | |
tree | 496498f66ff79a2b63022c95a837a20b4251849a /databases | |
parent | bfca880fd7ee556117c03847a2aa94ff84a3ecf4 (diff) | |
download | pkgsrc-b86aed21d8b9839cff2af89f16f75ff596829ae2.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')
-rw-r--r-- | databases/mysql55-client/Makefile | 14 |
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" |