From 46f04e94cb7208fd86bcf4eec7e97963f30d6272 Mon Sep 17 00:00:00 2001 From: heinz Date: Tue, 5 Feb 2008 22:34:47 +0000 Subject: The package supports installation to DESTDIR. --- meta-pkgs/boost/Makefile | 4 +++- meta-pkgs/boost/Makefile.common | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) (limited to 'meta-pkgs') 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" -- cgit v1.2.3