summaryrefslogtreecommitdiff
path: root/databases/mysql55-client/Makefile.common
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2015-06-22 15:16:24 +0000
committerjperkin <jperkin@pkgsrc.org>2015-06-22 15:16:24 +0000
commit1a24ce0f7f49b4f16726b97fb75c53f603005b12 (patch)
treea480a0d81665efeb78bd7d74e6ce1123c9aa64ad /databases/mysql55-client/Makefile.common
parente742a558eeb2fa752bf3802b71fd169bb836d43e (diff)
downloadpkgsrc-1a24ce0f7f49b4f16726b97fb75c53f603005b12.tar.gz
Substitute hardcoded paths to compiler wrappers. Fixes CHECK_WRKREF builds.
Diffstat (limited to 'databases/mysql55-client/Makefile.common')
-rw-r--r--databases/mysql55-client/Makefile.common9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql55-client/Makefile.common b/databases/mysql55-client/Makefile.common
index e5b6aa30c60..f855a50bfb4 100644
--- a/databases/mysql55-client/Makefile.common
+++ b/databases/mysql55-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.44 2015/06/01 07:40:36 adam Exp $
+# $NetBSD: Makefile.common,v 1.45 2015/06/22 15:16:24 jperkin Exp $
#
# used by databases/mysql55-client/Makefile
# used by databases/mysql55-server/Makefile
@@ -120,6 +120,13 @@ SUBST_SED.scr= -e "s,chown,${CHOWN},g"
SUBST_SED.scr+= -e "s,/bin/sh,${RCD_SCRIPTS_SHELL},g"
SUBST_MESSAGE.scr= Fixing scripts.
+SUBST_CLASSES+= fixpaths
+SUBST_STAGE.fixpaths= post-install
+SUBST_FILES.fixpaths= ${DESTDIR}${PREFIX}/bin/mysqlbug
+SUBST_FILES.fixpaths+= ${DESTDIR}${PREFIX}/share/doc/mysql/INFO_BIN
+SUBST_SED.fixpaths= -e "s,${WRAPPER_BINDIR}/gcc,${CCPATH},g"
+SUBST_SED.fixpaths+= -e "s,${WRAPPER_BINDIR}/g++,${CXXPATH},g"
+
.include "../../mk/readline.buildlink3.mk"
.if !empty(READLINE_TYPE:Mreadline)