pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mariadb55-client REPLACE_PERL me harder.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c4a4e058581c
branches:  trunk
changeset: 367985:c4a4e058581c
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Sep 09 17:03:02 2017 +0000

description:
REPLACE_PERL me harder.

diffstat:

 databases/mariadb55-client/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r a5c27726e10a -r c4a4e058581c databases/mariadb55-client/Makefile
--- a/databases/mariadb55-client/Makefile       Sat Sep 09 16:15:45 2017 +0000
+++ b/databases/mariadb55-client/Makefile       Sat Sep 09 17:03:02 2017 +0000
@@ -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/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



Home | Main Index | Thread Index | Old Index