FreeBSD Bugzilla – Attachment 89219 Details for
Bug 126107
Makefile option to use Boost type traits with devel/STLport.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.09 KB, created by
Václav Haisman
on 2008-07-30 22:50:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Václav Haisman
Created:
2008-07-30 22:50:01 UTC
Size:
2.09 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/services/cvsupin/ncvs/ports/devel/stlport/Makefile,v >retrieving revision 1.48 >diff -u -p -d -r1.48 Makefile >--- Makefile 25 Jul 2008 09:38:44 -0000 1.48 >+++ Makefile 30 Jul 2008 21:32:17 -0000 >@@ -36,7 +36,8 @@ PORTDOCS= * > > OPTIONS= SHORT_STRING_OPTIM "Enable short string optimization." on \ > PTR_SPECIALIZATIONS "Use pointer types specializations." off \ >- TEMPLATE_EXPRESSION "Use template expressions for string." off >+ TEMPLATE_EXPRESSION "Use template expressions for string." off \ >+ BOOST_SUPPORT "Use Boost type traits." off > > .include <bsd.port.pre.mk> > >@@ -52,6 +53,13 @@ EXTRA_PATCHES+= ${PATCHDIR}/extra-patch- > EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-templ-expr-user_config.h.diff > .endif > >+.if defined(WITH_BOOST_SUPPORT) >+EXTRA_PATCHES+= ${PATCHDIR}/extra-patch-boost-support-user_config.h.diff >+MAKE_ENV+= STLP_BUILD_BOOST_PATH=${LOCALBASE}/include >+BUILD_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost >+RUN_DEPENDS+= ${LOCALBASE}/include/boost/config/stdlib/stlport.hpp:${PORTSDIR}/devel/boost >+.endif >+ > pre-configure: > ${REINPLACE_CMD} -e 's|gcc|${COMPILER}|' ${WRKSRC}/gcc.mak \ > ${WRKSRC}/../test/unit/gcc.mak >Index: files/extra-patch-boost-support-user_config.h.diff >=================================================================== >RCS file: files/extra-patch-boost-support-user_config.h.diff >diff -N files/extra-patch-boost-support-user_config.h.diff >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/extra-patch-boost-support-user_config.h.diff 30 Jul 2008 21:33:50 -0000 >@@ -0,0 +1,14 @@ >+--- stlport/stl/config/user_config.h 2008-07-30 22:57:38.719239317 +0200 >++++ stlport/stl/config/user_config.h 2008-07-30 22:58:06.413639084 +0200 >+@@ -298,9 +298,9 @@ >+ * to use this feature at STLport built time you will have to define the >+ * STLP_BUILD_BOOST_PATH enrironment variable with the value of the boost library path. >+ */ >+-/* >++ >+ #define _STLP_USE_BOOST_SUPPORT 1 >+-*/ >++ >+ >+ /*==========================================================*/ >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 126107
: 89219