diff options
author | heinz <heinz> | 2008-02-05 22:34:47 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-02-05 22:34:47 +0000 |
commit | 3a88325e359b1a6f0dc38e03721403bb71bdb1b1 (patch) | |
tree | d2fbd8cef7a623e4672d4f14ce2d72f93eef0b02 | |
parent | 74a451332c58983e97bf809b44925c3d8629f23b (diff) | |
download | pkgsrc-3a88325e359b1a6f0dc38e03721403bb71bdb1b1.tar.gz |
The package supports installation to DESTDIR.
-rw-r--r-- | meta-pkgs/boost/Makefile | 4 | ||||
-rw-r--r-- | meta-pkgs/boost/Makefile.common | 4 |
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" |