2002-01-15 03:39:11 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: boost
|
|
|
|
# Date Created: 6 January 2002
|
|
|
|
# Whom: Paul Marquis <pmarquis@pobox.com>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= boost
|
2004-12-24 12:23:12 +00:00
|
|
|
PORTVERSION= 1.32.0
|
2002-01-15 03:39:11 +00:00
|
|
|
CATEGORIES= devel
|
2004-12-24 12:23:12 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:S/$/:boost_site,spirit_site/}
|
|
|
|
MASTER_SITE_SUBDIR=boost/:boost_site
|
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
2004-02-20 05:32:21 +00:00
|
|
|
DISTNAME= ${PORTNAME}_${PORTVERSION:S/./_/g}
|
2004-12-24 12:23:12 +00:00
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}:boost_site
|
2002-01-15 03:39:11 +00:00
|
|
|
|
2004-01-15 13:41:30 +00:00
|
|
|
MAINTAINER= barner@gmx.de
|
2003-02-21 11:23:04 +00:00
|
|
|
COMMENT= Free peer-reviewed portable C++ source libraries
|
2002-01-15 03:39:11 +00:00
|
|
|
|
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
2004-02-20 05:32:21 +00:00
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_REINPLACE= yes
|
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
|
|
|
|
MAKE_ENV+= GCC="${CC} ${CFLAGS}"\
|
2004-12-24 12:23:12 +00:00
|
|
|
GXX="${CXX} ${CXXFLAGS}"\
|
|
|
|
STLPORT_ROOT=/
|
2003-11-10 05:52:33 +00:00
|
|
|
|
2004-12-24 12:23:12 +00:00
|
|
|
OPTIONS= VERBOSE_BUILD "Show compiler messages" off \
|
|
|
|
DEBUG "Build debugging symbols" off \
|
|
|
|
THREADS "Thread support" on \
|
|
|
|
OPTIMIZED_CFLAGS "Enable -O3 optimization" off
|
|
|
|
|
|
|
|
#
|
|
|
|
# Unfortunately, it is not possible to use OPTIONS to control the
|
|
|
|
# optional Python support
|
|
|
|
#
|
|
|
|
# In order to build Boost's Python bindings, please specify
|
|
|
|
# -DWITH_PYTHON on the command line or use the devel/boost-python
|
|
|
|
# slave port.
|
|
|
|
#
|
2003-11-10 05:52:33 +00:00
|
|
|
.if defined(WITH_PYTHON)
|
2004-12-24 12:23:12 +00:00
|
|
|
PKGNAMESUFFIX= -python
|
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
2004-02-20 05:32:21 +00:00
|
|
|
USE_PYTHON= 2.3+
|
2004-12-24 12:23:12 +00:00
|
|
|
PLIST_SUB+= BOOST_PYTHON=""
|
|
|
|
MAKE_ENV+= PYTHON_ROOT="${LOCALBASE}"\
|
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
2004-02-20 05:32:21 +00:00
|
|
|
PYTHON_VERSION="${PYTHON_VERSION}"\
|
|
|
|
PYTHON_INCLUDES="${PYTHON_INCLUDEDIR}"\
|
|
|
|
PYTHON_LIB_PATH="${PYTHON_LIBDIR}"
|
2003-11-10 05:52:33 +00:00
|
|
|
.else
|
2004-12-24 12:23:12 +00:00
|
|
|
PLIST_SUB+= BOOST_PYTHON="@comment "
|
2002-05-23 15:07:59 +00:00
|
|
|
.endif
|
2003-11-10 05:52:33 +00:00
|
|
|
|
2003-12-28 11:10:42 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
2004-12-24 12:23:12 +00:00
|
|
|
SPIRIT_VERSION= 1.6.2
|
|
|
|
|
|
|
|
# FreeBSD 4:
|
|
|
|
# - no wchar support
|
|
|
|
# - needs stlport
|
|
|
|
# - spirit 1.6.x
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
USE_ZIP= yes
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/FBSD4-patch-libs::serialization::build::Jamfile\
|
|
|
|
${FILESDIR}/FBSD4-patch-boost::program_options::detail::utf8_codecvt_facet.hpp
|
|
|
|
|
|
|
|
DISTFILES+= spirit-only-${SPIRIT_VERSION}.zip:spirit_site
|
|
|
|
MASTER_SITE_SUBDIR+=spirit/:spirit_site
|
|
|
|
BJAM_BUILD+= <stlport-iostream>on
|
|
|
|
BOOST_TOOLS= gcc-stlport
|
|
|
|
|
|
|
|
PLIST_SUB+= BOOST_WCHAR="@comment "\
|
|
|
|
BOOST_SPIRIT_1.6=""\
|
|
|
|
BOOST_SPIRIT_1.8="@comment "
|
|
|
|
|
|
|
|
BOOST_STL_OPTS= "-sSTLPORT_INCLUDE_DIRECTORY=${LOCALBASE}/include/stlport"\
|
|
|
|
"-sSTLPORT_LIB_DIRECTORY=${LOCALBASE}/lib"
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${LOCALBASE}/lib/libstlport_gcc.so:${PORTSDIR}/devel/stlport
|
|
|
|
BUILD_DEPENDS+= ${RUN_DEPENDS}
|
|
|
|
|
|
|
|
# FreeBSD 5
|
|
|
|
# - wchar support
|
|
|
|
# - spirit 1.8.x
|
|
|
|
.else
|
|
|
|
BOOST_TOOLS= gcc
|
|
|
|
EXTRA_PATCHES= ${FILESDIR}/FBSD5-patch-boost::python::detail::config.hpp
|
|
|
|
|
|
|
|
PLIST_SUB+= BOOST_WCHAR=""\
|
|
|
|
BOOST_SPIRIT_1.6="@comment "\
|
|
|
|
BOOST_SPIRIT_1.8=""
|
|
|
|
.endif
|
2003-12-28 11:10:42 +00:00
|
|
|
|
2004-08-24 20:05:34 +00:00
|
|
|
.if defined (WITH_VERBOSE_BUILD)
|
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
2004-02-20 05:32:21 +00:00
|
|
|
BJAM_OPTIONS= -d2
|
|
|
|
.endif
|
|
|
|
|
2004-12-24 12:23:12 +00:00
|
|
|
.if defined (WITHOUT_DEBUG)
|
|
|
|
BJAM_BUILD+= release
|
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
2004-02-20 05:32:21 +00:00
|
|
|
.else
|
2004-12-24 12:23:12 +00:00
|
|
|
BJAM_BUILD+= debug
|
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
2004-02-20 05:32:21 +00:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.if defined (WITHOUT_THREADS)
|
|
|
|
BJAM_BUILD+= <threading>single
|
|
|
|
PLIST_SUB+= BOOST_THREADS="@comment "
|
|
|
|
.else
|
|
|
|
BJAM_BUILD+= <threading>multi
|
|
|
|
PLIST_SUB+= BOOST_THREADS=""
|
|
|
|
.endif
|
|
|
|
|
2004-12-24 12:23:12 +00:00
|
|
|
.if defined (WITHOUT_OPTIMIZED_CFLAGS)
|
|
|
|
BJAM_BUILD+= <optimization>off
|
|
|
|
.else
|
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
2004-02-20 05:32:21 +00:00
|
|
|
BJAM_BUILD+= <optimization>speed\
|
|
|
|
<inlining>full
|
2004-02-17 05:36:56 +00:00
|
|
|
.endif
|
|
|
|
|
2003-12-28 11:10:42 +00:00
|
|
|
.if ${ARCH} == alpha
|
|
|
|
BJAM= ${WRKSRC}/tools/build/jam_src/bin.freebsdaxp/bjam
|
2004-05-29 21:06:36 +00:00
|
|
|
# temporary work around for GCC bug on alpha
|
|
|
|
# ("-mcpu=ev4 -mtune=ev5 -mieee" makes gcc consume all virtual memory)
|
2004-12-24 12:23:12 +00:00
|
|
|
#
|
|
|
|
# If you are trying to build this on alpha, a quick test whether the problem
|
|
|
|
# still exists would be very much appreciated!
|
2004-05-29 21:06:36 +00:00
|
|
|
CXXFLAGS=-O -pipe
|
2003-12-28 11:10:42 +00:00
|
|
|
.elif ${ARCH} == sparc64
|
|
|
|
BJAM= ${WRKSRC}/tools/build/jam_src/bin.freebsdsparc/bjam
|
2004-03-08 15:02:53 +00:00
|
|
|
.elif ${ARCH} == ia64
|
|
|
|
BJAM= ${WRKSRC}/tools/build/jam_src/bin.freebsdia64/bjam
|
2003-12-28 11:10:42 +00:00
|
|
|
.else
|
2003-07-18 14:13:11 +00:00
|
|
|
BJAM= ${WRKSRC}/tools/build/jam_src/bin.freebsd/bjam
|
2003-12-28 11:10:42 +00:00
|
|
|
.endif
|
2003-07-18 14:13:11 +00:00
|
|
|
|
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
2004-02-20 05:32:21 +00:00
|
|
|
SCRIPTS_ENV+= BJAM="${BJAM}"\
|
|
|
|
NOPORTDOCS="${NOPORTDOCS}"\
|
|
|
|
FIND="${FIND}"\
|
|
|
|
GREP="${GREP}"\
|
|
|
|
REINPLACE_CMD="${REINPLACE_CMD}"\
|
|
|
|
LN="${LN}"\
|
|
|
|
MKDIR="${MKDIR}"\
|
2004-12-24 12:23:12 +00:00
|
|
|
TAR="${TAR}" \
|
|
|
|
RM="${RM}" \
|
|
|
|
UNIQ="/usr/bin/uniq"
|
2003-11-20 16:11:52 +00:00
|
|
|
|
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
2004-02-20 05:32:21 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
SCRIPTS_ENV+= PORTDOCS="true"\
|
2004-12-24 12:23:12 +00:00
|
|
|
DOCSDIR="${DOCSDIR}"
|
|
|
|
.endif
|
|
|
|
|
|
|
|
pre-everything::
|
|
|
|
.if !defined(WITH_PYTHON)
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${ECHO_CMD} To build Boost\'s Python bindings hit CTRL+C now and
|
|
|
|
@${ECHO_CMD} run \`\`make -DWITH_PYTHON [...]\'\' or use the
|
|
|
|
@${ECHO_CMD} devel/boost-python slave port.
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@sleep 2
|
|
|
|
.else
|
|
|
|
@${ECHO_CMD}
|
|
|
|
@${ECHO_CMD} Python bindings enabled!
|
|
|
|
@${ECHO_CMD}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
do-extract:
|
|
|
|
@${MKDIR} ${WRKDIR}
|
|
|
|
@cd ${WRKDIR} && ${TAR} -xjpof ${DISTDIR}/${DISTNAME}.tar.bz2
|
|
|
|
|
|
|
|
# boost 1.32.0's spirit 1.8.x cannot be built with GCC 2.95.4,
|
|
|
|
# so we use spirit 1.6.x
|
|
|
|
.if ${OSVERSION} < 500000
|
|
|
|
@cd ${WRKDIR} && ${UNZIP_CMD} ${DISTDIR}/spirit-only-${SPIRIT_VERSION}.zip > /dev/null
|
|
|
|
|
|
|
|
# remove CRLF
|
|
|
|
@${FIND} ${WRKDIR}/spirit_${SPIRIT_VERSION:S/./_/g} -type f -exec \
|
|
|
|
${REINPLACE_CMD} -i '' -e "s|"`printf '\015'`"||g" {} \;
|
|
|
|
|
|
|
|
# replace spirit v1.8 with v1.6
|
|
|
|
@${RM} -rf ${WRKSRC}/boost/spirit* ${WRKSRC}/libs/spirit
|
|
|
|
@${MV} ${WRKDIR}/spirit_${SPIRIT_VERSION:S/./_/g}/boost/* ${WRKSRC}/boost
|
|
|
|
@${MV} ${WRKDIR}/spirit_${SPIRIT_VERSION:S/./_/g}/libs/spirit ${WRKSRC}/libs
|
2003-11-10 05:52:33 +00:00
|
|
|
.endif
|
2002-01-15 03:39:11 +00:00
|
|
|
|
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
2004-02-20 05:32:21 +00:00
|
|
|
post-patch:
|
2004-12-24 12:23:12 +00:00
|
|
|
# If necessary, remove Boost.Python
|
|
|
|
.if !defined(WITH_PYTHON)
|
|
|
|
@${RM} -rf ${WRKSRC}/boost/python* ${WRKSRC}/libs/python
|
|
|
|
.endif
|
|
|
|
|
|
|
|
# Do the right thing(tm) for pthread support
|
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
2004-02-20 05:32:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PTHREAD_CFLAGS%%|${PTHREAD_CFLAGS}|'\
|
2004-12-24 12:23:12 +00:00
|
|
|
${WRKSRC}/tools/build/v1/gcc-tools.jam \
|
|
|
|
${WRKSRC}/tools/build/v1/gcc-stlport-tools.jam
|
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
2004-02-20 05:32:21 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|%%PTHREAD_LIBS%%|${PTHREAD_LIBS}|'\
|
2004-12-24 12:23:12 +00:00
|
|
|
${WRKSRC}/tools/build/v1/gcc-tools.jam \
|
|
|
|
${WRKSRC}/tools/build/v1/gcc-stlport-tools.jam
|
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
2004-02-20 05:32:21 +00:00
|
|
|
|
2002-01-15 03:39:11 +00:00
|
|
|
do-build:
|
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
2004-02-20 05:32:21 +00:00
|
|
|
# build the bjam project build tool
|
2004-12-24 12:23:12 +00:00
|
|
|
cd ${WRKSRC}/tools/build/jam_src && ./build.sh gcc
|
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
2004-02-20 05:32:21 +00:00
|
|
|
|
|
|
|
# build the library
|
|
|
|
@cd ${WRKSRC}; \
|
|
|
|
${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_OPTIONS} --prefix=${PREFIX}\
|
2004-12-24 12:23:12 +00:00
|
|
|
"-sTOOLS=${BOOST_TOOLS}" "-sBUILD=${BJAM_BUILD}"\
|
|
|
|
${BOOST_STL_OPTS}
|
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
2004-02-20 05:32:21 +00:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/do-install
|
|
|
|
|
2003-11-10 05:52:33 +00:00
|
|
|
.include <bsd.port.post.mk>
|