summaryrefslogtreecommitdiff
path: root/databases/mysql56-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/mysql56-client/Makefile.common
parente742a558eeb2fa752bf3802b71fd169bb836d43e (diff)
downloadpkgsrc-1a24ce0f7f49b4f16726b97fb75c53f603005b12.tar.gz
Substitute hardcoded paths to compiler wrappers. Fixes CHECK_WRKREF builds.
Diffstat (limited to 'databases/mysql56-client/Makefile.common')
-rw-r--r--databases/mysql56-client/Makefile.common9
1 files changed, 8 insertions, 1 deletions
diff --git a/databases/mysql56-client/Makefile.common b/databases/mysql56-client/Makefile.common
index eec45e27d46..f3a9487d8b8 100644
--- a/databases/mysql56-client/Makefile.common
+++ b/databases/mysql56-client/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.24 2015/06/03 07:13:30 tron Exp $
+# $NetBSD: Makefile.common,v 1.25 2015/06/22 15:16:24 jperkin Exp $
#
# used by databases/mysql56-client/Makefile
# used by databases/mysql56-server/Makefile
@@ -114,6 +114,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"
+
.if ${_OPSYS_SHLIB_TYPE} == "dylib"
SOEXT="dylib"
.else