summaryrefslogtreecommitdiff
path: root/x11/qt4-mysql
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 18:04:13 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 18:04:13 +0000
commitb6a26519e544b88599566566f77ecf413ccac894 (patch)
tree8102800ba9fd116ea8785f0e15430f02e5c17ecf /x11/qt4-mysql
parent5a4b488a2009c78f596f490ca523a3e2e291ec19 (diff)
downloadpkgsrc-b6a26519e544b88599566566f77ecf413ccac894.tar.gz
user-destdir support
Diffstat (limited to 'x11/qt4-mysql')
-rw-r--r--x11/qt4-mysql/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/qt4-mysql/Makefile b/x11/qt4-mysql/Makefile
index 82622e037e7..0223ca4deec 100644
--- a/x11/qt4-mysql/Makefile
+++ b/x11/qt4-mysql/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.2 2009/06/13 11:55:51 hasso Exp $
+# $NetBSD: Makefile,v 1.3 2009/07/07 18:04:13 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../x11/qt4-libs/Makefile.common"
@@ -16,11 +18,11 @@ do-build:
cd ${WRKSRC}/src/plugins/sqldrivers/mysql && env ${MAKE_ENV} ${GMAKE}
SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
+INSTALLATION_DIRS= ${SQLDRVDIR}
do-install:
- ${INSTALL_DATA_DIR} ${SQLDRVDIR}
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlmysql.la \
- ${SQLDRVDIR}
+ ${DESTDIR}${SQLDRVDIR}
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"