diff options
author | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-02-20 05:32:21 +0000 |
---|---|---|
committer | Ying-Chieh Liao <ijliao@FreeBSD.org> | 2004-02-20 05:32:21 +0000 |
commit | 7baacd2bb2b5276d5c9d38d90050383a5a34b6cc (patch) | |
tree | 9464fe87f1aade00cf93928a29509e92798272c4 /devel/boost/files | |
parent | Tie x11-themes into the build now that it contains some ports. (diff) |
upgrade to 1.31.0
- builds the most recent boost version (1.31.0)
- respects PTHREAD_{CFLAGS, LIBS} (credits for the PTHREAD_LIBS part
go to Craig Rodrigues <rodrigc@crodrigues.org>)
- builds all boost libraries
- installs docs into DOCSDIR, and examples into EXAMPLESDIR (as
before), but the hyperlinks to the example files are corrected (pls.
report if you find some broken links)
- has new various tunable options, such as
o WITH_DEBUG
o WITHOUT_THREAD
o WITH_OPTIMIZED_CFLAGS
o VERBOSE_BUILD
- forced major numbers for shared libraries (everything defaults to
.so.1, and is symlinked to .so)
- installs the possible versions of the libraries (w/ or w/o
debugging or threading support) with the same suffix- and prefix-less
name, e.g. instead of libboost_filesystem-gcc-debug-s.so.1 (the gcc toolset,
debugging info and single threaded) and
libboost_filesystem-gcc-m.so.1 (gcc toolset, release version, multi
threaded), there now is only libboost_filesystem.so.1.
PR: 63100
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=101470
Diffstat (limited to 'devel/boost/files')
4 files changed, 58 insertions, 0 deletions
diff --git a/devel/boost/files/patch-libs::test:src::test_tools.cpp b/devel/boost/files/patch-libs::test:src::test_tools.cpp new file mode 100644 index 000000000000..dc4790c8d7af --- /dev/null +++ b/devel/boost/files/patch-libs::test:src::test_tools.cpp @@ -0,0 +1,11 @@ +--- libs/test/src/test_tools.cpp.orig Tue Feb 17 16:31:56 2004 ++++ libs/test/src/test_tools.cpp Tue Feb 17 16:32:10 2004 +@@ -191,7 +191,7 @@ + void + print_log_value<char>::operator()( std::ostream& ostr, char t ) + { +- if( std::isprint( t ) ) ++ if( isprint( t ) ) + ostr << '\'' << t << '\''; + else + ostr << std::hex diff --git a/devel/boost/files/patch-tools::build::v1::allyourbase.jam b/devel/boost/files/patch-tools::build::v1::allyourbase.jam new file mode 100644 index 000000000000..39f8fa5a01ee --- /dev/null +++ b/devel/boost/files/patch-tools::build::v1::allyourbase.jam @@ -0,0 +1,11 @@ +--- tools/build/v1/allyourbase.jam.orig Wed Feb 18 14:04:28 2004 ++++ tools/build/v1/allyourbase.jam Wed Feb 18 14:02:44 2004 +@@ -457,7 +457,7 @@ + SPLITPATH ?= ":" ; # dwa -- added missing SPLITPATH + STDHDRS ?= /usr/include ; + SUFEXE ?= "" ; +-SUFDLL ?= .so ; ++SUFDLL ?= .so.1 ; + SUFLIB ?= .a ; + SUFOBJ ?= .o ; + PREDLL ?= lib ; diff --git a/devel/boost/files/patch-tools::build::v1::boost-base.jam b/devel/boost/files/patch-tools::build::v1::boost-base.jam new file mode 100644 index 000000000000..b335598b72c7 --- /dev/null +++ b/devel/boost/files/patch-tools::build::v1::boost-base.jam @@ -0,0 +1,14 @@ +--- tools/build/v1/boost-base.jam.orig Wed Jan 28 23:52:25 2004 ++++ tools/build/v1/boost-base.jam Wed Feb 18 14:06:58 2004 +@@ -2621,11 +2621,6 @@ + local version-tag = [ MATCH "^([^.]+).([^.]+)" : $(version-number[1]) ] ; + version-tag = $(version-tag:J="_") ; + +- tags += $(toolset-tag:J=) ; +- tags += $(thread-tag:J=) ; +- tags += $(runtime-tag:J=) ; +- tags += $(version-tag) ; +- + if $(tags) + { + return $(properties) <*><*><tag><prefix>-$(tags:J=-) ; diff --git a/devel/boost/files/patch-tools::build::v1::gcc-tools.jam b/devel/boost/files/patch-tools::build::v1::gcc-tools.jam new file mode 100644 index 000000000000..9656c4a3df1c --- /dev/null +++ b/devel/boost/files/patch-tools::build::v1::gcc-tools.jam @@ -0,0 +1,22 @@ +--- tools/build/v1/gcc-tools.jam.orig Thu Jan 22 05:11:52 2004 ++++ tools/build/v1/gcc-tools.jam Wed Feb 18 12:57:30 2004 +@@ -61,7 +61,7 @@ + flags gcc LINKFLAGS <runtime-link>static : -static ; + flags gcc CFLAGS <debug-symbols>on : -g ; + flags gcc LINKFLAGS <debug-symbols>on : -g ; +-flags gcc CFLAGS <optimization>off : -O0 ; ++flags gcc CFLAGS <optimization>off : ; + flags gcc CFLAGS <optimization>speed : -O3 ; + + # Other optimizations we might want for GCC +@@ -125,8 +125,8 @@ + } + case *BSD : + { +- flags gcc CFLAGS <threading>multi : -pthread ; +- flags gcc LINKFLAGS <threading>multi : -pthread ; ++ flags gcc CFLAGS <threading>multi : %%PTHREAD_CFLAGS%% ; ++ flags gcc LINKFLAGS <threading>multi : %%PTHREAD_LIBS%% ; + # there is no -lrt on BSD + } + case IRIX : |