View | Details | Raw Unified | Return to bug 126107
Collapse All | Expand All

(-)Makefile (-1 / +9 lines)
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
(-)files/extra-patch-boost-support-user_config.h.diff (+14 lines)
Added Link Here
1
--- stlport/stl/config/user_config.h	2008-07-30 22:57:38.719239317 +0200
2
+++ stlport/stl/config/user_config.h	2008-07-30 22:58:06.413639084 +0200
3
@@ -298,9 +298,9 @@
4
  * to use this feature at STLport built time you will have to define the
5
  * STLP_BUILD_BOOST_PATH enrironment variable with the value of the boost library path.
6
  */
7
-/*
8
+
9
 #define _STLP_USE_BOOST_SUPPORT 1
10
-*/
11
+
12
 
13
 /*==========================================================*/
14

Return to bug 126107