summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/mariadb55-client/Makefile18
1 files changed, 4 insertions, 14 deletions
diff --git a/databases/mariadb55-client/Makefile b/databases/mariadb55-client/Makefile
index 5a4fb6d2c4f..46087528f69 100644
--- a/databases/mariadb55-client/Makefile
+++ b/databases/mariadb55-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.12 2020/04/16 09:03:47 manu Exp $
+# $NetBSD: Makefile,v 1.13 2020/05/10 13:56:14 rillig Exp $
PKGNAME= ${DISTNAME:S/-/-client-/}
#PKGREVISION= 1
@@ -17,24 +17,14 @@ UNWRAP_FILES+= scripts/mysql_config
INFO_FILES= yes
INSTALL_DIRS+= client include libmysql man scripts tests
-REPLACE_PERL+= scripts/mysql_convert_table_format.sh
-REPLACE_PERL+= scripts/mysql_find_rows.sh
-REPLACE_PERL+= scripts/mysql_fix_extensions.sh
-REPLACE_PERL+= scripts/mysql_fix_privilege_tables.sh
-REPLACE_PERL+= scripts/mysql_setpermission.sh
-REPLACE_PERL+= scripts/mysql_zap.sh
-REPLACE_PERL+= scripts/mysqlaccess.sh
-REPLACE_PERL+= scripts/mysqld_multi.sh
-REPLACE_PERL+= scripts/mysqldumpslow.sh
-REPLACE_PERL+= scripts/mysqlhotcopy.sh
-REPLACE_PERL+= scripts/mytop.sh
+REPLACE_PERL+= scripts/convert-*.sh 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_FILES.perlpath= scripts/mysql*.sh scripts/*.pl.in
+SUBST_SED.perlpath= -e 1s,@PERL_PATH@,${PERL5},
SUBST_CLASSES+= fixwrap
SUBST_STAGE.fixwrap= post-build