the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: boost1.32-py%type_pkg[python]
Version: 1.32.0
Revision: 1003
Distribution: (%type_pkg[python] = 23) 10.4, (%type_pkg[python] = 24) 10.4, (%type_pkg[python] = 24) 10.5
Maintainer: None
License: BSD
# Dependencies:
Depends: %N-shlibs (= %v-%r)
Conflicts: boost1.31, boost1.32, boost1.33
Replaces: boost1.31, boost1.32, boost1.33
Type: python (2.3 2.4)
BuildDepends: boost-jam, python%type_pkg[python] | python%type_pkg[python]-nox, fink (>= 0.24.12-1)
BuildDependsOnly: True
# Unpack Phase:
Source: mirror:sourceforge:boost/boost_1_32_0.tar.gz
SourceDirectory: boost_1_32_0
Source-MD5: e91654e9ed71c0b9cf5e61209bbb05f4
# Patch Phase:
PatchFile: %{ni}.patch
PatchFile-MD5: 41f12eca3c761c2e78e91562eaca9664
# Compile Phase:
GCC: 4.0
SetMACOSX_DEPLOYMENT_TARGET: 10.3
CompileScript: <<
bjam -sTOOLS=gcc -sPYTHON_ROOT=%p -sPYTHON_VERSION=%type_raw[python] --without-python --without-serialization --prefix=%p
<<
# Install Phase:
InstallScript: <<
bjam -sTOOLS=gcc -sPYTHON_ROOT=%p -sPYTHON_VERSION=%type_raw[python] --without-python --without-serialization --prefix=%i install
ln -s %p/include/boost-1_32/boost %i/include/boost
ln -s %p/lib/libboost_date_time-1_32.dylib %i/lib/libboost_date_time.dylib
ln -s %p/lib/libboost_date_time-d-1_32.dylib %i/lib/libboost_date_time-d.dylib
ln -s %p/lib/libboost_filesystem-1_32.dylib %i/lib/libboost_filesystem.dylib
ln -s %p/lib/libboost_filesystem-d-1_32.dylib %i/lib/libboost_filesystem-d.dylib
ln -s %p/lib/libboost_prg_exec_monitor-1_32.dylib %i/lib/libboost_prg_exec_monitor.dylib
ln -s %p/lib/libboost_prg_exec_monitor-d-1_32.dylib %i/lib/libboost_prg_exec_monitor-d.dylib
ln -s %p/lib/libboost_program_options-1_32.dylib %i/lib/libboost_program_options.dylib
ln -s %p/lib/libboost_program_options-d-1_32.dylib %i/lib/libboost_program_options-d.dylib
ln -s %p/lib/libboost_regex-1_32.dylib %i/lib/libboost_regex.dylib
ln -s %p/lib/libboost_regex-d-1_32.dylib %i/lib/libboost_regex-d.dylib
ln -s %p/lib/libboost_signals-1_32.dylib %i/lib/libboost_signals.dylib
ln -s %p/lib/libboost_signals-d-1_32.dylib %i/lib/libboost_signals-d.dylib
ln -s %p/lib/libboost_test_exec_monitor-1_32.dylib %i/lib/libboost_test_exec_monitor.dylib
ln -s %p/lib/libboost_test_exec_monitor-d-1_32.dylib %i/lib/libboost_test_exec_monitor-d.dylib
ln -s %p/lib/libboost_thread-1_32.dylib %i/lib/libboost_thread.dylib
ln -s %p/lib/libboost_thread-d-1_32.dylib %i/lib/libboost_thread-d.dylib
ln -s %p/lib/libboost_unit_test_framework-1_32.dylib %i/lib/libboost_unit_test_framework.dylib
ln -s %p/lib/libboost_unit_test_framework-d-1_32.dylib %i/lib/libboost_unit_test_framework-d.dylib
<<
# ln -s %p/lib/libboost_python-1_32.dylib %i/lib/libboost_python.dylib
# ln -s %p/lib/libboost_python-d-1_32.dylib %i/lib/libboost_python-d.dylib
Splitoff: <<
Package: %N-shlibs
Conflicts: boost1.32-shlibs
Replaces: boost1.32-shlibs
# Depends: python%type_pkg[python]
Files: <<
lib/libboost_date_time-1_32.dylib
lib/libboost_date_time-d-1_32.dylib
lib/libboost_filesystem-1_32.dylib
lib/libboost_filesystem-d-1_32.dylib
lib/libboost_prg_exec_monitor-1_32.dylib
lib/libboost_prg_exec_monitor-d-1_32.dylib
lib/libboost_program_options-1_32.dylib
lib/libboost_program_options-d-1_32.dylib
lib/libboost_regex-1_32.dylib
lib/libboost_regex-d-1_32.dylib
lib/libboost_signals-1_32.dylib
lib/libboost_signals-d-1_32.dylib
lib/libboost_test_exec_monitor-1_32.dylib
lib/libboost_test_exec_monitor-d-1_32.dylib
lib/libboost_thread-1_32.dylib
lib/libboost_thread-d-1_32.dylib
lib/libboost_unit_test_framework-1_32.dylib
lib/libboost_unit_test_framework-d-1_32.dylib
<<
# lib/libboost_python-1_32.dylib
# lib/libboost_python-d-1_32.dylib
Shlibs: <<
%p/lib/libboost_date_time-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_date_time-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_filesystem-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_filesystem-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_prg_exec_monitor-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_prg_exec_monitor-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_program_options-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_program_options-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_regex-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_regex-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_signals-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_signals-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_test_exec_monitor-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_test_exec_monitor-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_thread-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_thread-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_unit_test_framework-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
%p/lib/libboost_unit_test_framework-d-1_32.dylib 1.32.0 %n (>= 1.32.0-1)
<<
# %p/lib/libboost_python-1_32.dylib 1.32.0 (>= 1.32.0-1)
# %p/lib/libboost_python-d-1_32.dylib 1.32.0 (>= 1.32.0-1)
DocFiles: LICENSE_1_0.txt README
Description: Boost C++ Shared Library Files
<<
DocFiles: LICENSE_1_0.txt README
Description: Portable Peer-review C++ Source Libraries
DescDetail: <<
The Boost web site provides free peer-reviewed portable C++ source
libraries. The emphasis is on libraries which work well with the
C++ Standard Library. The libraries are intended to be widely useful,
and are in regular use by thousands of programmers across a broad
spectrum of applications.
A further goal is to establish "existing practice" and provide
reference implementations so that Boost libraries are suitable for
eventual standardization. Ten Boost libraries will be included in
the C++ Standards Committee's upcoming C++ Standard Library Technical
Report as a step toward becoming part of a future C++ Standard.
Although Boost was begun by members of the C++ Standards Committee
Library Working Group, participation has expanded to include thousands
of programmers from the C++ community at large.
<<
DescPort: <<
NB - Boost.Python isn't built because a bug in Apple's version of gcc causes
a deadlock when Boost.Python extensions are imported into Python
Jamfile - Created internal global variable for lib install directory
so that proper install_names for dylib is possible
libs/python/build/Jamfile
- added "-undefined dynamic_lookup -flat_namespace" to linkflags
libs/test/build/Jamfile - corrected dylib linkflags
tools/build/v1/allyourbase.jam
- converted hardlinks so softlinks, code thanks to vasi
tools/build/v1/boost-base.jam
- removed toolset and version tags from filenames
tools/build/v1/gcc-tools.jam
- removed code that used cc/c++ instead of gcc/g++
- corrected share library flags
- corrected gcc-link-action so that proper install_name and
file versioning of dylibs occurs
tools/build/v1/python.jam
- removed macosx specific code that used the framework version
of python so that the more generic unix version that
will instead use the fink version of python runs
<<
Homepage: http://www.boost.org
<<
diff -urN boost_1_32_0.orig/Jamfile boost_1_32_0/Jamfile
--- boost_1_32_0.orig/Jamfile Thu Aug 12 02:13:36 2004
+++ boost_1_32_0/Jamfile Wed Apr 13 21:13:46 2005
@@ -113,6 +113,7 @@
# object code libraries
local lib-locate = [ MATCH "^--libdir=(.*)" : $(ARGV) ] ;
lib-locate ?= $(exec-locate)/lib ;
+gLIB_INSTALL_DIR ?= $(lib-locate) ;
# where to build
local all-locate = [ MATCH "^--builddir=(.*)" : $(ARGV) ] ;
diff -urN boost_1_32_0.orig/boost/test/detail/wrap_stringstream.hpp boost_1_32_0/boost/test/detail/wrap_stringstream.hpp
--- boost_1_32_0.orig/boost/test/detail/wrap_stringstream.hpp Sun Sep 19 05:22:12 2004
+++ boost_1_32_0/boost/test/detail/wrap_stringstream.hpp Wed Apr 13 21:13:46 2005
@@ -117,7 +117,7 @@
//____________________________________________________________________________//
-#if !defined(BOOST_NO_STD_LOCALE) && BOOST_WORKAROUND(BOOST_MSVC, >= 1310)
+#if !defined(BOOST_NO_STD_LOCALE) && ( !defined(BOOST_MSVC) || BOOST_WORKAROUND(BOOST_MSVC, >= 1310))
template
inline basic_wrap_stringstream
diff -urN boost_1_32_0.orig/libs/python/build/Jamfile boost_1_32_0/libs/python/build/Jamfile
--- boost_1_32_0.orig/libs/python/build/Jamfile Mon Jul 26 11:33:26 2004
+++ boost_1_32_0/libs/python/build/Jamfile Wed Apr 13 21:13:46 2005
@@ -63,6 +63,7 @@
$(bpl-linkflags)
+
;
template extension
diff -urN boost_1_32_0.orig/libs/test/build/Jamfile boost_1_32_0/libs/test/build/Jamfile
--- boost_1_32_0.orig/libs/test/build/Jamfile Tue Jul 20 06:51:08 2004
+++ boost_1_32_0/libs/test/build/Jamfile Wed Apr 13 21:13:46 2005
@@ -56,13 +56,16 @@
if ! $(NT)
{
dll boost_prg_exec_monitor : boost_test_lib
- ../src/$(PRG_EXEC_MON_SOURCES).cpp ;
+ ../src/$(PRG_EXEC_MON_SOURCES).cpp
+ :
dll boost_test_exec_monitor : boost_test_lib
- ../src/$(TEST_EXEC_MON_SOURCES).cpp ;
+ ../src/$(TEST_EXEC_MON_SOURCES).cpp
+ :
dll boost_unit_test_framework : boost_test_lib
- ../src/$(UTF_SOURCES).cpp ;
+ ../src/$(UTF_SOURCES).cpp
+ :
}
install test lib
diff -urN boost_1_32_0.orig/tools/build/v1/allyourbase.jam boost_1_32_0/tools/build/v1/allyourbase.jam
--- boost_1_32_0.orig/tools/build/v1/allyourbase.jam Sun Nov 7 11:55:58 2004
+++ boost_1_32_0/tools/build/v1/allyourbase.jam Wed Apr 13 21:13:46 2005
@@ -2108,7 +2108,7 @@
actions HardLink
{
$(RM) "$(<)" 2$(NULL_OUT) $(NULL_OUT)
- $(LN) "$(>)" "$(<)" $(NULL_OUT)
+ $(LN) -s $(>:D=) "$(<)" $(NULL_OUT)
}
actions Install
diff -urN boost_1_32_0.orig/tools/build/v1/boost-base.jam boost_1_32_0/tools/build/v1/boost-base.jam
--- boost_1_32_0.orig/tools/build/v1/boost-base.jam Thu Oct 28 16:07:53 2004
+++ boost_1_32_0/tools/build/v1/boost-base.jam Wed Apr 13 21:13:46 2005
@@ -2594,7 +2594,7 @@
if
local runtime-tag = ;
- if
+ #if
if
if [ MATCH .*(debug-python).* : $(variant) ] { runtime-tag += y ; }
else { if [ MATCH .*(debug).* : $(variant) ] { runtime-tag += d ; } }
@@ -2651,8 +2651,8 @@
version-tag = $(version-tag:J="_") ;
}
- tags += $(toolset-tag:J=) ;
- tags += $(thread-tag:J=) ;
+ #tags += $(toolset-tag:J=) ;
+ #tags += $(thread-tag:J=) ;
tags += $(runtime-tag:J=) ;
tags += $(version-tag) ;
diff -urN boost_1_32_0.orig/tools/build/v1/gcc-tools.jam boost_1_32_0/tools/build/v1/gcc-tools.jam
--- boost_1_32_0.orig/tools/build/v1/gcc-tools.jam Tue Oct 19 11:12:58 2004
+++ boost_1_32_0/tools/build/v1/gcc-tools.jam Wed Apr 13 21:15:16 2005
@@ -120,8 +120,8 @@
# MacOS X, doesn't need any threading options set
# -lpthread is linked to by default.
# There is no gcc/g++, we need to use cc/c++ instead:
- .GCC ?= cc ;
- .GXX ?= c++ ;
+ #.GCC ?= cc ;
+ #.GXX ?= c++ ;
}
case *BSD :
{
@@ -342,7 +342,7 @@
}
else
{
- flags gcc LINKFLAGS
+ flags gcc LINKFLAGS
}
flags gcc LIBPATH
@@ -445,7 +445,7 @@
$(.SET_EXIT)
$(SHELL_SET)$(gSHELL_LIBPATH)=$(LINK_LIBPATH)$(gAPPEND_LD_LIBRARY_PATH)
$(SHELL_EXPORT)$(gSHELL_LIBPATH)
- "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) "$(DLL_LINK_FLAGS)" "$(IMPLIB_COMMAND)$(<[2])" $(LINKFLAGS) -o "$(<[1])$(OUTTAG)" -L"$(LIBPATH:T)" -L"$(STDLIBPATH:T)" "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" "$(IMPLIB_FLAGS)$(NEEDIMPS)" -l$(FINDLIBS) $(LNOPT)$(RPATH_LINK). $(LNOPT)$(SONAME)$(<[1]:D=)$(SOTAG)
+ "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) "$(DLL_LINK_FLAGS)" "$(IMPLIB_COMMAND)$(<[2])" $(LINKFLAGS) -o "$(<[1])$(OUTTAG)" -install_name "$(<[1]:D=$(gLIB_INSTALL_DIR))" -compatibility_version $(DLLVERSION) -current_version $(DLLVERSION) -L"$(LIBPATH:T)" -L"$(STDLIBPATH:T)" "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" "$(IMPLIB_FLAGS)$(NEEDIMPS)" -l$(FINDLIBS) $(LNOPT)$(RPATH_LINK). $(LNOPT)$(SONAME)$(<[1]:D=)$(SOTAG)
$(ACTION_1)$(LN)$(_)-fs$(_)"$(<[1]:D=)$(OUTTAG)"$(_)"$(<[1])"
}
@@ -474,7 +474,7 @@
actions gcc-C++-action
{
$(.SET_EXIT)
- "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -c -Wall -ftemplate-depth-255 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)"
+ "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -c -Wall -fabi-version=1 -Wno-long-double -ftemplate-depth-255 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)"
"$(.OBJCOPY[1])"$(_)$(OBJCOPY_FLAGS)$(_)"$(<)"
}
diff -urN boost_1_32_0.orig/tools/build/v1/gcc-tools.jam~ boost_1_32_0/tools/build/v1/gcc-tools.jam~
--- boost_1_32_0.orig/tools/build/v1/gcc-tools.jam~ Wed Dec 31 19:00:00 1969
+++ boost_1_32_0/tools/build/v1/gcc-tools.jam~ Wed Apr 13 21:13:46 2005
@@ -0,0 +1,491 @@
+# Copyright (c) 2001 David Abrahams.
+# Copyright (c) 2002-2003 Rene Rivera.
+# Distributed under the Boost Software License, Version 1.0.
+# (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
+
+# The following #// line will be used by the regression test table generation
+# program as the column heading for HTML tables. Must not include version number.
+#//GNU
GCC
+
+# compute directories for invoking GCC
+#
+# The gcc toolset can be user-configured using the following
+# variables:
+#
+# GCC_ROOT_DIRECTORY
+# The directory in which GCC was installed. Defaults to
+# unset. Usually, there is no need to set this variable at
+# all. However, if G++ is not in the path it is usually
+# sufficient to configure this one variable. More fine-grained
+# configuration is available by setting the following:
+#
+# GCC_BIN_DIRECTORY
+# the directory prefix used to find the gcc executables. Defaults to
+# $(GCC_ROOT_DIRECTORY)/bin/, or "" if GCC_ROOT_DIRECTORY is
+# not set.
+#
+# GCC_INCLUDE_DIRECTORY
+# the directory in which to find system includes. Defaults to
+# empty.
+#
+# GCC_STDLIB_DIRECTORY
+# the directory in which to find the standard library
+# objects associated with this build of gcc. Defaults to
+# $(GCC_ROOT_DIRECTORY)/lib.
+#
+# GXX
+# The name by which g++ is invoked. You can also use this in
+# lieu of setting the
+# as "-V3.0.4" into the g++ command line: "-sGXX=g++ -V3.0.4".
+#
+# GCC
+# Similar to GXX, the name by which gcc is invoked for "C"
+# language targets.
+
+# singleton variables...
+set-as-singleton GCC_ROOT_DIRECTORY GCC_BIN_DIRECTORY GCC_INCLUDE_DIRECTORY GCC_STDLIB_DIRECTORY ;
+
+flags gcc GCC_BIN_DIRECTORY : $(GCC_BIN_DIRECTORY) ;
+flags gcc GCC_INCLUDE_DIRECTORY : $(GCC_INCLUDE_DIRECTORY) ;
+flags gcc GCC_STDLIB_DIRECTORY : $(GCC_STDLIB_DIRECTORY) ;
+
+GCC_BIN_DIRECTORY ?= $(GCC_ROOT_DIRECTORY)$(SLASH)bin ;
+GCC_BIN_DIRECTORY ?= "" ; # Don't clobber tool names if GCC_ROOT_DIRECTORY not set
+GCC_STDLIB_DIRECTORY ?= $(GCC_ROOT_DIRECTORY)$(SLASH)lib ;
+
+# Make sure this gets set "on" the target
+flags gcc GCC_BIN_DIR : $(GCC_BIN_DIRECTORY) ;
+
+flags gcc LINKFLAGS
+flags gcc CFLAGS
+flags gcc LINKFLAGS
+flags gcc CFLAGS
+flags gcc CFLAGS
+
+# Other optimizations we might want for GCC
+# -fforce-mem -fomit-frame-pointer
+# -foptimize-sibling-calls -finline-functions -ffast-math -finline-limit=10000
+
+flags gcc CFLAGS
+flags gcc CFLAGS
+flags gcc CFLAGS
+flags gcc CFLAGS
+
+flags gcc .GXX : $(GXX) ;
+flags gcc .GCC : $(GCC) ;
+
+#
+# set threading options for various platforms:
+#
+local on-windows ;
+
+if $(NT)
+{
+ on-windows = 1 ;
+}
+else if $(UNIX)
+{
+ switch $(JAMUNAME)
+ {
+ case CYGWIN* :
+ {
+ on-windows = 1 ;
+ }
+ }
+}
+
+flags gcc ON_WINDOWS : $(on-windows) ;
+
+if $(on-windows)
+{
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+}
+else if $(UNIX)
+{
+ switch $(JAMUNAME)
+ {
+ case SunOS* :
+ {
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+ flags gcc FINDLIBS
+ }
+ case BeOS :
+ {
+ # BeOS has no threading options, don't set anything here.
+ }
+ case Darwin :
+ {
+ # MacOS X, doesn't need any threading options set
+ # -lpthread is linked to by default.
+ # There is no gcc/g++, we need to use cc/c++ instead:
+ #.GCC ?= cc ;
+ #.GXX ?= c++ ;
+ }
+ case *BSD :
+ {
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+ # there is no -lrt on BSD
+ }
+ case DragonFly :
+ {
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+ # there is no -lrt on BSD - DragonFly is a FreeBSD variant,
+ # which anoyingly doesn't say it's a *BSD.
+ }
+ case IRIX :
+ {
+ # gcc on IRIX does not support multi-threading, don't set anything here.
+ }
+ case HP_UX :
+ {
+ # gcc on HP-UX does not support multi-threading, don't set anything here
+ }
+ case * :
+ {
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+ flags gcc FINDLIBS
+ }
+ }
+}
+
+# Some possibly supported, or not, linker flags. The support depends on the OS linker.
+#
+flags gcc RPATH_LINK ;
+flags gcc SONAME ;
+
+# Set/reset options for the linker of the platform.
+#
+if $(UNIX)
+{
+ switch $(JAMUNAME)
+ {
+ case SunOS* :
+ {
+ NO_GNU_LN = true ; # sun seems not to use the GNU linker with gcc
+ flags gcc OBJCOPY_FLAGS
+ }
+ case Linux :
+ {
+ RPATH_LINK = -Wl,-rpath-link, ;
+ SONAME = -Wl,-soname, ;
+ flags gcc OBJCOPY_FLAGS
+ }
+ case OpenBSD :
+ {
+ SONAME = -Wl,-soname, ;
+ }
+ case AIX* :
+ {
+ NO_GNU_LN = true ;
+ IMPLIB_FLAGS = "-Wl,-bI:" ;
+ }
+ }
+}
+
+
+# Set architecture/instruction-set options.
+#
+# x86 and compatible
+.ARCH =
+flags gcc CFLAGS
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+# Sparc
+.ARCH =
+flags gcc CFLAGS
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS
+flags gcc LINKFLAGS
+# RS/6000 & PowerPC
+.ARCH =
+flags gcc CFLAGS
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS $(.ARCH)/
+flags gcc CFLAGS
+# MIPS-1-2-3-4
+flags gcc MIPS
+flags gcc MIPS
+
+
+
+
+
+ : TRUE ;
+if $(MIPS)
+{
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ # ...addressing model options
+ flags gcc ADDRESS_MODEL_INVALID
+ if $(ADDRESS_MODEL_INVALID)
+ {
+ EXIT "Error: Invalid addressing model for MIPS architecture (16)." ;
+ }
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+ flags gcc CFLAGS
+}
+
+#
+# define compiler names if not set:
+.GCC ?= gcc ;
+.GXX ?= g++ ;
+
+
+flags gcc CFLAGS
+flags gcc LINKFLAGS
+
+flags gcc C++FLAGS
+flags gcc C++FLAGS
+flags gcc C++FLAGS
+
+flags gcc CFLAGS
+flags gcc C++FLAGS
+flags gcc DEFINES
+flags gcc UNDEFS
+flags gcc HDRS
+flags gcc SYSHDRS
+flags gcc LINKFLAGS
+flags gcc LINKFLAGS
+flags gcc ARFLAGS
+
+flags gcc STDHDRS : $(GCC_INCLUDE_DIRECTORY) ;
+flags gcc STDLIBPATH : $(GCC_STDLIB_DIRECTORY) ;
+
+if ! $(ARFLAGS)
+{
+ flags gcc ARFLAGS : "" ;
+}
+
+if ! $(on-windows) # The compiler complains about -fPIC on NT
+{
+ flags gcc CFLAGS
+ flags gcc LINKFLAGS
+}
+
+
+if $(BETOOLS)
+{
+ flags gcc LINKFLAGS
+}
+else
+{
+ flags gcc LINKFLAGS
+}
+
+flags gcc LIBPATH
+flags gcc NEEDLIBS
+flags gcc FINDLIBS
+
+flags gcc DLLVERSION
+DLLVERSION = $(DLLVERSION[1]) ;
+DLLVERSION ?= $(BOOST_VERSION) ;
+
+flags gcc TARGET_TYPE
+
+# allow for "ar" to be part of the compiler distribution, for
+# example in mingw and cygwin
+flags gcc .AR : [ GLOB $(GCC_BIN_DIRECTORY) $(PATH) : ar ar.exe ] ;
+.AR ?= ar ;
+
+# used to manipulate the object files produced by GCC to
+# prevent the merging of debug symbols (which happens to be n^2 slow)
+flags gcc .OBJCOPY : [ GLOB $(GCC_BIN_DIRECTORY) $(PATH) : objcopy ] ;
+
+if ! $(on-windows)
+{
+ flags gcc .SET_EXIT : "set -e" ;
+}
+
+#### Link ####
+
+rule Link-action
+{
+ _ on $(<) = " " ;
+ # if we don't have a GNU linker then we can't pass any GNU-ld specific flags:
+ if $(NO_GNU_LN)
+ {
+ LNOPT on $(<) = ;
+ }
+ else
+ {
+ LNOPT on $(<) = "" ;
+ }
+ # do we use sonames or not?
+ if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
+ {
+ OUTTAG on $(<) = ".$(DLLVERSION)" ;
+ SOTAG on $(<) = ".$(DLLVERSION)" ;
+ ACTION_1 on $(<) = "" ;
+ }
+ else
+ {
+ OUTTAG on $(<) = "" ;
+ SOTAG on $(<) = ;
+ ACTION_1 on $(<) = ;
+ }
+
+ if [ on $(<) return $(ON_WINDOWS) ]
+ {
+ # On Win32, choose different image bases for load-time efficiency
+ DLL_LINK_FLAGS on $(<) += "-Wl,--enable-auto-image-base" ;
+ }
+
+ if $(<[2]) && [ on $(<) return $(ON_WINDOWS) ]
+ {
+ # Allow gcc-nocygwin to avoid this flag
+ if ! $(GCC_NO_EXPORT_ALL)
+ {
+ DLL_LINK_FLAGS on $(<) += "-Wl,--export-all-symbols" ;
+ }
+
+ # This will appear before the import library name when building a DLL, but
+ # will be "multiplied away" otherwise. The --exclude-symbols directive
+ # proved to be neccessary with some versions of Cygwin.
+ DLL_LINK_FLAGS on $(<) += "-Wl,--exclude-symbols,_bss_end__:_bss_start__:_data_end__:_data_start__" ;
+
+ # set the link command to generate an import library
+ if ! $(NO_GNU_LN)
+ {
+ IMPLIB_COMMAND on $(<) = "-Wl,--out-implib," ;
+ }
+ }
+
+ DEPENDS $(<) : $(NEEDLIBS) $(NEEDIMPS) ;
+ gRUN_LD_LIBRARY_PATH($(<)) += $(STDLIBPATH:T) ;
+
+ # Workaround GCC's lack of command-files and NT's line-length limitation.
+ if $(NT) {
+ JAMSHELL on $(<) = % ;
+ }
+
+ gcc-Link-action $(<) : $(>) ;
+
+ if $(DLLVERSION) && $(TARGET_TYPE) in $(SHARED_TYPES) && ( $(OS) = LINUX || $(OS) = OPENBSD ) && ! $(NO_GNU_LN)
+ {
+ return "$(<[1]).$(DLLVERSION)" ;
+ }
+}
+
+# for gcc, we repeat all libraries so that dependencies are always resolved
+actions gcc-Link-action bind NEEDLIBS NEEDIMPS
+{
+ $(.SET_EXIT)
+ $(SHELL_SET)$(gSHELL_LIBPATH)=$(LINK_LIBPATH)$(gAPPEND_LD_LIBRARY_PATH)
+ $(SHELL_EXPORT)$(gSHELL_LIBPATH)
+ "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) "$(DLL_LINK_FLAGS)" "$(IMPLIB_COMMAND)$(<[2])" $(LINKFLAGS) -o "$(<[1])$(OUTTAG)" -install_name "$(<[1]:D=$(gLIB_INSTALL_DIR))" -compatibility_version $(DLLVERSION) -current_version $(DLLVERSION) -L"$(LIBPATH:T)" -L"$(STDLIBPATH:T)" "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" "$(IMPLIB_FLAGS)$(NEEDIMPS)" -l$(FINDLIBS) $(LNOPT)$(RPATH_LINK). $(LNOPT)$(SONAME)$(<[1]:D=)$(SOTAG)
+ $(ACTION_1)$(LN)$(_)-fs$(_)"$(<[1]:D=)$(OUTTAG)"$(_)"$(<[1])"
+}
+
+#### Cc #####
+
+rule Cc-action
+{
+ _ on $(<) = " " ;
+ gcc-Cc-action $(<) : $(>) ;
+}
+
+actions gcc-Cc-action
+{
+ $(.SET_EXIT)
+ "$(.GCC[1]:R=$(GCC_BIN_DIR))" $(.GCC[2-]) -c -Wall -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)"
+ "$(.OBJCOPY[1])"$(_)$(OBJCOPY_FLAGS)$(_)"$(<)"
+}
+
+#### C++ ####
+rule C++-action
+{
+ _ on $(<) = " " ;
+ gcc-C++-action $(<) : $(>) ;
+}
+
+actions gcc-C++-action
+{
+ $(.SET_EXIT)
+ "$(.GXX[1]:R=$(GCC_BIN_DIR))" $(.GXX[2-]) -c -Wall -Wno-long-double -ftemplate-depth-255 -U$(UNDEFS) -D$(DEFINES) $(CFLAGS) $(C++FLAGS) -I"$(HDRS)" -I$(_)"$(STDHDRS)" -I$(_)"$(SYSHDRS)" -o "$(<)" "$(>)"
+ "$(.OBJCOPY[1])"$(_)$(OBJCOPY_FLAGS)$(_)"$(<)"
+}
+
+#### Archive ####
+
+rule Archive-action
+{
+ gcc-Archive-action $(<) : $(>) ;
+}
+
+actions updated together piecemeal gcc-Archive-action
+{
+ "$(.AR[1])" ru$(ARFLAGS:J=) "$(<)" "$(>)"
+}
diff -urN boost_1_32_0.orig/tools/build/v1/python.jam boost_1_32_0/tools/build/v1/python.jam
--- boost_1_32_0.orig/tools/build/v1/python.jam Tue Oct 19 08:13:08 2004
+++ boost_1_32_0/tools/build/v1/python.jam Wed Apr 13 21:13:46 2005
@@ -63,10 +63,10 @@
CYGWIN_PYTHON_DEBUG_DLL_PATH ?= $(CYGWIN_PYTHON_DEBUG_ROOT)/bin ;
CYGWIN_PYTHON_DEBUG_LIB_PATH ?= $(CYGWIN_PYTHON_DEBUG_ROOT)/lib/python$(CYGWIN_PYTHON_DEBUG_VERSION)/config ;
}
-else if $(UNIX) && $(OS) = MACOSX
-{
- PYTHON_EMBEDDED_LIBRARY = ;
-}
+#else if $(UNIX) && $(OS) = MACOSX
+#{
+# PYTHON_EMBEDDED_LIBRARY = ;
+#}
else
{
PYTHON_EMBEDDED_LIBRARY = python$(PYTHON_VERSION) dl util ;
@@ -89,32 +89,32 @@
PYTHON_IMPORT_LIB ?= [ GLOB $(PYTHON_LIB_PATH) : libpython$(PYTHON_VERSION_NODOT).* ] ;
PYTHON_DEBUG_IMPORT_LIB ?= [ GLOB $(PYTHON_LIB_PATH) : libpython$(PYTHON_VERSION_NODOT).* ] ;
}
-else if $(UNIX) && $(OS) = MACOSX
-{
- if ! $(PYTHON_ROOT)
- {
- if [ GLOB /System/Library/Frameworks : Python.framework ]
- {
- PYTHON_ROOT ?= /System/Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
- }
- else
- {
- PYTHON_ROOT ?= /Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
- }
- }
- PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
- PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
- PYTHON_FRAMEWORK ?= $(PYTHON_ROOT) ;
- while $(PYTHON_FRAMEWORK:D=) && $(PYTHON_FRAMEWORK:D=) != Python.framework
- {
- PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D) ;
- }
- PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D)/Python ;
-
- PYTHON_PROPERTIES ?=
-
- ;
-}
+#else if $(UNIX) && $(OS) = MACOSX
+#{
+# if ! $(PYTHON_ROOT)
+# {
+# if [ GLOB /System/Library/Frameworks : Python.framework ]
+# {
+# PYTHON_ROOT ?= /System/Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
+# }
+# else
+# {
+# PYTHON_ROOT ?= /Library/Frameworks/Python.framework/Versions/$(PYTHON_VERSION) ;
+# }
+# }
+# PYTHON_ROOT = $(PYTHON_ROOT:J=" ") ;
+# PYTHON_INCLUDES ?= $(PYTHON_ROOT)/include/python$(PYTHON_VERSION) ;
+# PYTHON_FRAMEWORK ?= $(PYTHON_ROOT) ;
+# while $(PYTHON_FRAMEWORK:D=) && $(PYTHON_FRAMEWORK:D=) != Python.framework
+# {
+# PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D) ;
+# }
+# PYTHON_FRAMEWORK = $(PYTHON_FRAMEWORK:D)/Python ;
+#
+# PYTHON_PROPERTIES ?=
+#
+# ;
+#}
else if $(UNIX)
{
PYTHON_ROOT ?= /usr/local ;