summaryrefslogtreecommitdiff
path: root/databases/mysql55-client
diff options
context:
space:
mode:
authortaca <taca>2013-08-31 02:08:32 +0000
committertaca <taca>2013-08-31 02:08:32 +0000
commitdefb144519ef9d90a7f82532144d7c19dfeafe2d (patch)
treec39c8b0f44aa8c2f281de36e23cd989d4ad66b36 /databases/mysql55-client
parentad783c75730997dadb67613ee1bc5c79343c1a26 (diff)
downloadpkgsrc-defb144519ef9d90a7f82532144d7c19dfeafe2d.tar.gz
Always create symbolic links avoid to use ".so" macro and stop ugly
messages from daily (or weekly). Rebuilding man page index: man-gpl-tmp2/mysql_client_test.1: No such file or directory man-gpl-tmp2/mysqltest.1: No such file or directory Bump PKGREVISION.
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r--databases/mysql55-client/Makefile13
1 files changed, 6 insertions, 7 deletions
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index cf7792e15cd..60bb2f84e36 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2013/07/31 18:51:41 adam Exp $
+# $NetBSD: Makefile,v 1.12 2013/08/31 02:08:32 taca Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
+PKGREVISION= 1
SVR4_PKGNAME= mysqc
COMMENT= MySQL 5, a free SQL database (client)
@@ -25,14 +26,12 @@ 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)
+# Replace manual pages which only include other ones with a symbolic link.
+# It is for manual compression is activated or mandoc(1) is used.
post-install:
-. for mf in mysql_client_test_embedded.1 mysqltest_embedded.1
+.for mf in mysql_client_test_embedded.1 mysqltest_embedded.1
${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
${LN} -s ${mf:S/_embedded//} ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/${mf}
-. endfor
-.endif
+.endfor
.include "../../mk/bsd.pkg.mk"