summaryrefslogtreecommitdiff
path: root/x11/qt4-pgsql
diff options
context:
space:
mode:
authorjoerg <joerg>2009-07-07 18:00:16 +0000
committerjoerg <joerg>2009-07-07 18:00:16 +0000
commitc5c915ee99145677c8d8164b711958c7b47081a3 (patch)
tree2b7ebf0c88488d009f829a0e6efc5682c31ababc /x11/qt4-pgsql
parent76577f92425c869bd6348645912cf8a5defdf138 (diff)
downloadpkgsrc-c5c915ee99145677c8d8164b711958c7b47081a3.tar.gz
user-destdir support
Diffstat (limited to 'x11/qt4-pgsql')
-rw-r--r--x11/qt4-pgsql/Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/x11/qt4-pgsql/Makefile b/x11/qt4-pgsql/Makefile
index 6f23c8bc4fe..4d9dedd4a48 100644
--- a/x11/qt4-pgsql/Makefile
+++ b/x11/qt4-pgsql/Makefile
@@ -1,4 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2009/06/14 06:33:44 hasso Exp $
+# $NetBSD: Makefile,v 1.8 2009/07/07 18:03:32 joerg Exp $
+
+PKG_DESTDIR_SUPPORT= user-destdir
.include "../../x11/qt4-libs/Makefile.common"
@@ -17,11 +19,11 @@ do-build:
cd ${WRKSRC}/src/plugins/sqldrivers/psql && env ${MAKE_ENV} ${GMAKE}
SQLDRVDIR= ${QTPREFIX}/plugins/sqldrivers
+INSTALLATION_DIRS= ${SQLDRVDIR}
do-install:
- ${INSTALL_DATA_DIR} ${SQLDRVDIR}
${LIBTOOL} ${INSTALL_DATA} ${WRKSRC}/plugins/sqldrivers/libqsqlpsql.la \
- ${SQLDRVDIR}
+ ${DESTDIR}${SQLDRVDIR}
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"