diff options
author | heinz <heinz@pkgsrc.org> | 2008-02-05 22:34:47 +0000 |
---|---|---|
committer | heinz <heinz@pkgsrc.org> | 2008-02-05 22:34:47 +0000 |
commit | 052ef0df8a3440f94e869b4a0ae9d5a62abd6ef7 (patch) | |
tree | d2fbd8cef7a623e4672d4f14ce2d72f93eef0b02 /meta-pkgs/boost | |
parent | 68c4f77ab1bab9c54e8f36ba068acd62ce7fd76f (diff) | |
download | pkgsrc-052ef0df8a3440f94e869b4a0ae9d5a62abd6ef7.tar.gz |
The package supports installation to DESTDIR.
Diffstat (limited to 'meta-pkgs/boost')
-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" |