summaryrefslogtreecommitdiff
path: root/databases/mysql55-client
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql55-client')
-rw-r--r--databases/mysql55-client/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/databases/mysql55-client/Makefile b/databases/mysql55-client/Makefile
index 3e497149c21..4766c38fd4b 100644
--- a/databases/mysql55-client/Makefile
+++ b/databases/mysql55-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2014/06/02 07:17:31 adam Exp $
+# $NetBSD: Makefile,v 1.19 2014/09/24 10:31:28 jperkin Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
SVR4_PKGNAME= mysqc
@@ -25,6 +25,11 @@ REPLACE_PERL+= scripts/mysqld_multi.sh
REPLACE_PERL+= scripts/mysqldumpslow.sh
REPLACE_PERL+= scripts/mysqlhotcopy.sh
+SUBST_CLASSES+= fixwrap
+SUBST_STAGE.fixwrap= post-build
+SUBST_FILES.fixwrap= scripts/mysqlbug
+SUBST_SED.fixwrap= -e "s,${WRAPPER_BINDIR}/,,g"
+
# 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: