Lines 36-42
PORTDOCS= *
Link Here
|
36 |
|
36 |
|
37 |
OPTIONS= SHORT_STRING_OPTIM "Enable short string optimization." on \ |
37 |
OPTIONS= SHORT_STRING_OPTIM "Enable short string optimization." on \ |
38 |
PTR_SPECIALIZATIONS "Use pointer types specializations." off \ |
38 |
PTR_SPECIALIZATIONS "Use pointer types specializations." off \ |
39 |
TEMPLATE_EXPRESSION "Use template expressions for string." off |
39 |
TEMPLATE_EXPRESSION "Use template expressions for string." off \ |
|
|
40 |
BOOST_SUPPORT "Use Boost type traits." off |
40 |
|
41 |
|
41 |
.include <bsd.port.pre.mk> |
42 |
.include <bsd.port.pre.mk> |
42 |
|
43 |
|
Lines 52-57
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-
Link Here
|
52 |
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-templ-expr-user_config.h.diff |
53 |
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-templ-expr-user_config.h.diff |
53 |
.endif |
54 |
.endif |
54 |
|
55 |
|
|
|
56 |
.if defined(WITH_BOOST_SUPPORT) |
57 |
EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-boost-support-user_config.h.diff |
58 |
MAKE_ENV+= STLP_BUILD_BOOST_PATH=${LOCALBASE}/include |
59 |
BUILD_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost |
60 |
RUN_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost |
61 |
.endif |
62 |
|
55 |
pre-configure: |
63 |
pre-configure: |
56 |
${REINPLACE_CMD} -e 's|gcc|${COMPILER}|' ${WRKSRC}/gcc.mak \ |
64 |
${REINPLACE_CMD} -e 's|gcc|${COMPILER}|' ${WRKSRC}/gcc.mak \ |
57 |
${WRKSRC}/../test/unit/gcc.mak |
65 |
${WRKSRC}/../test/unit/gcc.mak |