pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/meta-pkgs/boost The package supports installation to D...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d5696a5bbd1
branches:  trunk
changeset: 538320:6d5696a5bbd1
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Tue Feb 05 22:34:47 2008 +0000

description:
The package supports installation to DESTDIR.

diffstat:

 meta-pkgs/boost/Makefile        |  4 +++-
 meta-pkgs/boost/Makefile.common |  4 ++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diffs (34 lines):

diff -r 339c091b6825 -r 6d5696a5bbd1 meta-pkgs/boost/Makefile
--- a/meta-pkgs/boost/Makefile  Tue Feb 05 22:32:34 2008 +0000
+++ b/meta-pkgs/boost/Makefile  Tue Feb 05 22:34:47 2008 +0000
@@ -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 -r 339c091b6825 -r 6d5696a5bbd1 meta-pkgs/boost/Makefile.common
--- a/meta-pkgs/boost/Makefile.common   Tue Feb 05 22:32:34 2008 +0000
+++ b/meta-pkgs/boost/Makefile.common   Tue Feb 05 22:34:47 2008 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index