summaryrefslogtreecommitdiff
path: root/databases/mariadb55-client
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2017-09-09 17:03:02 +0000
committerdholland <dholland@pkgsrc.org>2017-09-09 17:03:02 +0000
commitbb7561ff3ef21029638ddba49f3a335d31954969 (patch)
tree8126912811147967700f71125501e9064181b1ae /databases/mariadb55-client
parent3db8dd83036767f382a9b94815a8a4823638110c (diff)
downloadpkgsrc-bb7561ff3ef21029638ddba49f3a335d31954969.tar.gz
REPLACE_PERL me harder.
Diffstat (limited to 'databases/mariadb55-client')
-rw-r--r--databases/mariadb55-client/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mariadb55-client/Makefile b/databases/mariadb55-client/Makefile
index 750419592de..37dfb1b3a81 100644
--- a/databases/mariadb55-client/Makefile
+++ b/databases/mariadb55-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2016/09/13 19:15:13 maya Exp $
+# $NetBSD: Makefile,v 1.7 2017/09/09 17:03:02 dholland Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
COMMENT= MarisDB 5.5, a free SQL database (client)
@@ -26,6 +26,13 @@ REPLACE_PERL+= scripts/mysqldumpslow.sh
REPLACE_PERL+= scripts/mysqlhotcopy.sh
REPLACE_PERL+= scripts/mytop.sh
+# REPLACE_PERL doesn't replace @PERL_PATH@, which is what's found in these
+# files now.
+SUBST_CLASSES+= perlpath
+SUBST_STAGE.perlpath= pre-configure
+SUBST_FILES.perlpath= ${REPLACE_PERL}
+SUBST_SED.perlpath= -e s,@PERL_PATH@,perl,
+
SUBST_CLASSES+= fixwrap
SUBST_STAGE.fixwrap= post-build
SUBST_FILES.fixwrap= scripts/mysqlbug