diff options
-rw-r--r-- | databases/mysql-cluster/Makefile.common | 10 | ||||
-rw-r--r-- | databases/mysql55-client/Makefile.common | 9 | ||||
-rw-r--r-- | databases/mysql56-client/Makefile.common | 9 |
3 files changed, 24 insertions, 4 deletions
diff --git a/databases/mysql-cluster/Makefile.common b/databases/mysql-cluster/Makefile.common index c02ad41d1b6..10a492d3b2e 100644 --- a/databases/mysql-cluster/Makefile.common +++ b/databases/mysql-cluster/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.6 2015/06/08 16:27:35 fhajny Exp $ +# $NetBSD: Makefile.common,v 1.7 2015/06/22 15:16:24 jperkin Exp $ # # used by databases/mysql-cluster/Makefile @@ -10,7 +10,6 @@ MAINTAINER?= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.mysql.com/products/cluster/ LICENSE= gnu-gpl-v2 - USE_CMAKE= yes USE_LANGUAGES= c c++ USE_TOOLS+= bash gmake perl:run python:run @@ -118,6 +117,13 @@ SUBST_STAGE.vars= pre-configure SUBST_FILES.vars= scripts/mysql_install_db.pl.in SUBST_VARS.vars= PKG_SYSCONFDIR +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 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) 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 |