pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boost-jam Added support for installation to DEST...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/20eb7f74d745
branches:  trunk
changeset: 538321:20eb7f74d745
user:      heinz <heinz%pkgsrc.org@localhost>
date:      Tue Feb 05 22:39:41 2008 +0000

description:
Added support for installation to DESTDIR.

diffstat:

 devel/boost-jam/bjam.mk |  7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)

diffs (28 lines):

diff -r 6d5696a5bbd1 -r 20eb7f74d745 devel/boost-jam/bjam.mk
--- a/devel/boost-jam/bjam.mk   Tue Feb 05 22:34:47 2008 +0000
+++ b/devel/boost-jam/bjam.mk   Tue Feb 05 22:39:41 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: bjam.mk,v 1.2 2008/01/04 19:58:40 jmmv Exp $
+# $NetBSD: bjam.mk,v 1.3 2008/02/05 22:39:41 heinz Exp $
 #
 
 .include "../../devel/boost-jam/buildlink3.mk"
@@ -10,7 +10,6 @@
 
 BJAM_ARGS+=            --builddir=${WRKSRC}/build
 BJAM_ARGS+=            --layout=system
-BJAM_ARGS+=            --prefix=${PREFIX}
 BJAM_ARGS+=            --toolset=${BOOST_TOOLSET}
 .if ${OPSYS} == "Darwin"
 BJAM_ARGS+=            -sTARGET_LIBDIR=${PREFIX}/lib
@@ -35,8 +34,8 @@
 
 bjam-build:
        @${_ULIMIT_CMD}                                                 \
-       cd ${WRKSRC} && ${BJAM_CMD} stage
+       cd ${WRKSRC} && ${BJAM_CMD} --prefix=${PREFIX} stage
 
 bjam-install:
        @${_ULIMIT_CMD}                                                 \
-       cd ${WRKSRC} && ${BJAM_CMD} install
+       cd ${WRKSRC} && ${BJAM_CMD} --prefix=${DESTDIR}${PREFIX} install



Home | Main Index | Thread Index | Old Index