summaryrefslogtreecommitdiff
path: root/databases/mysql55-client
diff options
context:
space:
mode:
authorjperkin <jperkin>2015-06-22 15:16:24 +0000
committerjperkin <jperkin>2015-06-22 15:16:24 +0000
commitef435786b4eaa304728ad8e3c8b32e2f1997a6a9 (patch)
treea480a0d81665efeb78bd7d74e6ce1123c9aa64ad /databases/mysql55-client
parentce030b02eaf916e4b377b0c6fda59e5d5671bfa5 (diff)
downloadpkgsrc-ef435786b4eaa304728ad8e3c8b32e2f1997a6a9.tar.gz
Substitute hardcoded paths to compiler wrappers. Fixes CHECK_WRKREF builds.
Diffstat (limited to 'databases/mysql55-client')
-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)