diff options
author | heinz <heinz> | 2008-02-05 22:59:05 +0000 |
---|---|---|
committer | heinz <heinz> | 2008-02-05 22:59:05 +0000 |
commit | f39f699ab6b24bb8e4037aeb01f408d9cfda624a (patch) | |
tree | d6a80c1d519bf33ceca81e3a9a818e525958511e /devel/boost-headers | |
parent | b4335484961d5ea0f6fb5a01a6cd95e5ec09e71b (diff) | |
download | pkgsrc-f39f699ab6b24bb8e4037aeb01f408d9cfda624a.tar.gz |
Added support for installation to DESTDIR.
Diffstat (limited to 'devel/boost-headers')
-rw-r--r-- | devel/boost-headers/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/devel/boost-headers/Makefile b/devel/boost-headers/Makefile index 9658e2b4e54..4b4262ca39c 100644 --- a/devel/boost-headers/Makefile +++ b/devel/boost-headers/Makefile @@ -1,10 +1,12 @@ -# $NetBSD: Makefile,v 1.9 2008/01/04 19:58:39 jmmv Exp $ +# $NetBSD: Makefile,v 1.10 2008/02/05 23:00:27 heinz Exp $ # BOOST_PACKAGE= headers BOOST_COMMENT= (build-time headers) BOOST_CONFIG= generate +PKG_DESTDIR_SUPPORT= user-destdir + .include "../../meta-pkgs/boost/Makefile.common" BJAM_ARGS+= --without-* # disable all libraries @@ -14,9 +16,9 @@ BJAM_ARGS+= --without-* # disable all libraries do-build: do-install: bjam-install - ${FIND} ${PREFIX}/include/boost \ + ${FIND} ${DESTDIR}${PREFIX}/include/boost \ -type f -print | ${XARGS} ${CHOWN} ${SHAREOWN}:${SHAREGRP} - ${FIND} ${PREFIX}/include/boost \ + ${FIND} ${DESTDIR}${PREFIX}/include/boost \ -type d -print | ${XARGS} ${CHMOD} ${PKGDIRMODE} PTHREAD_OPTS+= require |