summaryrefslogtreecommitdiff
path: root/meta-pkgs
diff options
context:
space:
mode:
authorheinz <heinz>2008-02-05 22:34:47 +0000
committerheinz <heinz>2008-02-05 22:34:47 +0000
commit3a88325e359b1a6f0dc38e03721403bb71bdb1b1 (patch)
treed2fbd8cef7a623e4672d4f14ce2d72f93eef0b02 /meta-pkgs
parent74a451332c58983e97bf809b44925c3d8629f23b (diff)
downloadpkgsrc-3a88325e359b1a6f0dc38e03721403bb71bdb1b1.tar.gz
The package supports installation to DESTDIR.
Diffstat (limited to 'meta-pkgs')
-rw-r--r--meta-pkgs/boost/Makefile4
-rw-r--r--meta-pkgs/boost/Makefile.common4
2 files changed, 5 insertions, 3 deletions
diff --git a/meta-pkgs/boost/Makefile b/meta-pkgs/boost/Makefile
index 230649f2269..df015ea954a 100644
--- a/meta-pkgs/boost/Makefile
+++ b/meta-pkgs/boost/Makefile
@@ -1,10 +1,12 @@
-# $NetBSD: Makefile,v 1.9 2007/12/19 12:27:27 rillig Exp $
+# $NetBSD: Makefile,v 1.10 2008/02/05 22:34:47 heinz Exp $
#
BOOST_PACKAGE= meta-pkg
BOOST_COMMENT= (meta package)
PKGREVISION= 3
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "Makefile.common"
BOOST_DEPENDS_VERSION= ${BOOST_SHORT_VERSION:S/_/./}{,nb*,.*}
diff --git a/meta-pkgs/boost/Makefile.common b/meta-pkgs/boost/Makefile.common
index a4dd25cfb40..cd8a035d026 100644
--- a/meta-pkgs/boost/Makefile.common
+++ b/meta-pkgs/boost/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.12 2008/02/05 22:32:34 heinz Exp $
+# $NetBSD: Makefile.common,v 1.13 2008/02/05 22:34:47 heinz Exp $
#
BOOST_PACKAGE?= undefined
@@ -55,6 +55,6 @@ do-configure:
.endif
boost-install-libs:
- cd ${WRKSRC}/stage/lib && ${PAX} -rw -p p libboost* ${PREFIX}/lib
+ cd ${WRKSRC}/stage/lib && ${PAX} -rw -p p libboost* ${DESTDIR}${PREFIX}/lib
.endif # ${BOOST_PACKAGE} == "meta-pkg"