blob: a8b3fb9dcd9688c8c93b6c14d5b964cdc1e935c7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# $NetBSD: bjam.mk,v 1.5 2009/10/14 06:40:08 adam Exp $
.include "../../devel/boost-jam/buildlink3.mk"
.include "../../devel/boost-build/toolset.mk"
.include "../../mk/bsd.prefs.mk"
BJAM= ${BUILDLINK_PREFIX.boost-jam}/bin/bjam
BJAM_ARGS+= --builddir=${WRKSRC}/build
BJAM_ARGS+= --layout=system
BJAM_ARGS+= --toolset=${BOOST_TOOLSET}
.if ${OPSYS} == "Darwin"
BJAM_ARGS+= -sTARGET_LIBDIR=${PREFIX}/lib
.endif
BJAM_ARGS+= --disable-long-double
BJAM_ARGS+= ${BJAM_BUILD}
BJAM_BUILD+= release
BJAM_BUILD+= threading=multi
BJAM_BUILD+= link=shared,static
BJAM_CMD= ${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS}
.include "../../meta-pkgs/boost/options.mk"
PLIST_SRC+= PLIST
UNLIMIT_RESOURCES+= datasize
bjam-build:
@${_ULIMIT_CMD} \
cd ${WRKSRC} && ${BJAM_CMD} --prefix=${PREFIX} stage
bjam-install:
@${_ULIMIT_CMD} \
cd ${WRKSRC} && ${BJAM_CMD} --prefix=${DESTDIR}${PREFIX} install
|