Lines 4-21
Link Here
|
4 |
# Whom: Paul Marquis <pmarquis@pobox.com> |
4 |
# Whom: Paul Marquis <pmarquis@pobox.com> |
5 |
# |
5 |
# |
6 |
# $FreeBSD: ports/devel/boost/Makefile,v 1.17 2004/05/29 21:06:36 pav Exp $ |
6 |
# $FreeBSD: ports/devel/boost/Makefile,v 1.17 2004/05/29 21:06:36 pav Exp $ |
7 |
# |
|
|
8 |
# This port has the following tunable options: |
9 |
# |
10 |
# option | desscription | default |
11 |
# ----------------------+-----------------------------+--------- |
12 |
# WITH_PYTHON | enable Python support | off |
13 |
# WITH_DEBUG | build debugging symbols | off |
14 |
# WITHOUT_THREADS | turn off threading support | off |
15 |
# WITH_OPTIMIZED_CFLAGS | enable -O3 optimization | off |
16 |
# | (otherwise CFLAGS are | |
17 |
# | respected) | |
18 |
# VERBOSE_BUILD | show compiler messages | off |
19 |
|
7 |
|
20 |
PORTNAME= boost |
8 |
PORTNAME= boost |
21 |
PORTVERSION= 1.31.0 |
9 |
PORTVERSION= 1.31.0 |
Lines 46-54
Link Here
|
46 |
PLIST_SUB= BOOST_PYTHON="@comment " |
34 |
PLIST_SUB= BOOST_PYTHON="@comment " |
47 |
.endif |
35 |
.endif |
48 |
|
36 |
|
|
|
37 |
OPTIONS= VERBOSE_BUILD "Show compiler messages" off \ |
38 |
DEBUG "Build debugging symbols" off \ |
39 |
THREADS "Thread support" on \ |
40 |
OPTIMIZED_CFLAGS "Enable -O3 optimization" off \ |
41 |
PYTHON "Build Python bindings" off |
42 |
|
49 |
.include <bsd.port.pre.mk> |
43 |
.include <bsd.port.pre.mk> |
50 |
|
44 |
|
51 |
.if defined (VERBOSE_BUILD) |
45 |
.if defined (WITH_VERBOSE_BUILD) |
52 |
BJAM_OPTIONS= -d2 |
46 |
BJAM_OPTIONS= -d2 |
53 |
.endif |
47 |
.endif |
54 |
|
48 |
|
Lines 109-149
Link Here
|
109 |
${WRKSRC}/tools/build/v1/gcc-tools.jam |
103 |
${WRKSRC}/tools/build/v1/gcc-tools.jam |
110 |
|
104 |
|
111 |
do-build: |
105 |
do-build: |
112 |
# Print configuration |
|
|
113 |
@${ECHO_CMD} |
114 |
@${ECHO_CMD} Selected options: |
115 |
@${ECHO_CMD} \(see the Makefile for a description of available tunables\) |
116 |
@${ECHO_CMD} |
117 |
@${ECHO_CMD} -n o Debugging symbols.... |
118 |
.if defined (WITH_DEBUG) |
119 |
@${ECHO_CMD} yes |
120 |
.else |
121 |
@${ECHO_CMD} no |
122 |
.endif |
123 |
|
124 |
@${ECHO_CMD} -n o Thread support....... |
125 |
.if defined (WITHOUT_THREADS) |
126 |
@${ECHO_CMD} no |
127 |
.else |
128 |
@${ECHO_CMD} yes |
129 |
.endif |
130 |
|
131 |
@${ECHO_CMD} -n o Extra optimization... |
132 |
.if defined (WITH_OPTIMIZED_CFLAGS) |
133 |
@${ECHO_CMD} yes |
134 |
.else |
135 |
@${ECHO_CMD} no |
136 |
.endif |
137 |
|
138 |
@${ECHO_CMD} -n o Python support....... |
139 |
.if defined (WITH_PYTHON) |
140 |
@${ECHO_CMD} yes |
141 |
.else |
142 |
@${RM} -rf ${WRKSRC}/libs/python |
143 |
@${ECHO_CMD} no |
144 |
.endif |
145 |
@${ECHO_CMD} |
146 |
|
147 |
# build the bjam project build tool |
106 |
# build the bjam project build tool |
148 |
@cd ${WRKSRC}/tools/build/jam_src && ./build.sh gcc |
107 |
@cd ${WRKSRC}/tools/build/jam_src && ./build.sh gcc |