summaryrefslogtreecommitdiff
path: root/databases/mysql56-client/Makefile.common
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/mysql56-client/Makefile.common
parentce030b02eaf916e4b377b0c6fda59e5d5671bfa5 (diff)
downloadpkgsrc-ef435786b4eaa304728ad8e3c8b32e2f1997a6a9.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