summaryrefslogtreecommitdiff
path: root/databases/mysql-cluster/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-cluster/Makefile.common')
-rw-r--r--databases/mysql-cluster/Makefile.common10
1 files changed, 8 insertions, 2 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