pkgsrc/meta-pkgs/boost/Makefile.common
jmmv 38913fffe5 Update boost* to 1.33.1:
Any Library: Cast to reference types introduced in 1.33.0 is now documented on
any_cast documentation page.

Config Library: Don't undef BOOST_LIB_TOOLSET after use.

Boost.Python:
* The build now assumes Python 2.4 by default, rather than 2.2
* Support Python that's built without Unicode support
* Support for wrapping classes with overloaded address-of (&) operators

Smart Pointer Library: Fixed problems under Metrowerks CodeWarrior on PowerPC
(Mac OS X) with inlining on, GNU GCC on PowerPC 64.

Regex Library: Fixed the supplied makefiles, and other small compiler specific
changes. Refer to the regex history page for more information on these and
other small changes.

Iostreams Library: Improved the interface for accessing a chain's components,
added is_open members to the file and file descriptor devices, fixed
memory-mapped files on Windows, and made minor changes to the documentation.

Functional/Hash Library: Fixed the points example.

Multi-index Containers Library: Fixed a problem with multithreaded code, and
other minor changes. Refer to the library release notes for further details.

Graph Library:
* Fixed a problem with the relaxed heap on x86 Linux (fixes bug in
  dijkstra_shortest_paths).
* Fixed problems with cuthill_mckee_ordering and king_ordering producing no
  results.
* Added color_map parameter to dijkstra_shortest_paths.

Signals Library: Fixed problems with the use of Signals across shared library
boundaries.

Thread library: read_write_mutex has been removed due to problems with
deadlocks.  Wave library (V1.2.1) Fixed a couple of problems, refer to the
change log for further details.
2006-01-20 20:40:18 +00:00

60 lines
1.7 KiB
Makefile

# $NetBSD: Makefile.common,v 1.6 2006/01/20 20:40:19 jmmv Exp $
#
BOOST_PACKAGE?= undefined
BOOST_COMMENT?= undefined
BOOST_VERSION= 1.33.1
BOOST_SHORT_VERSION= 1_33
DISTNAME= boost_${BOOST_VERSION:S/./_/g}
CATEGORIES= devel
.if ${BOOST_PACKAGE} == "meta-pkg"
PKGNAME= boost-${BOOST_VERSION}
.else # ${BOOST_PACKAGE} != "meta-pkg"
PKGNAME= boost-${BOOST_PACKAGE}-${BOOST_VERSION}
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=boost/}
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jmmv@NetBSD.org
HOMEPAGE= http://www.boost.org/
COMMENT= Free, peer-reviewed portable C++ source libraries ${BOOST_COMMENT}
CONFLICTS+= boost<1.32.0
DISTINFO_FILE= ${.CURDIR}/../../meta-pkgs/boost/distinfo
PATCHDIR= ${.CURDIR}/../../meta-pkgs/boost/patches
USE_LANGUAGES+= c++
GCC_REQD+= 3.2 # if using gcc; ignored otherwise
# We can't do this at post-extract because the extract cookie will get a
# future timestamp than the sources. If this happens, print-PLIST does
# not work.
pre-configure:
@cd ${WRKSRC} && ${FIND} . -type f -exec ${TOUCH} {} \;
# Generate a new user.hpp or use the installed one, depending on the
# package we are building.
.if ${BOOST_CONFIG} == "installed"
. include "../../devel/boost-headers/buildlink3.mk"
do-configure:
${CP} -f \
${BUILDLINK_PREFIX.boost-headers}/include/boost/config/user.hpp \
${WRKSRC}/boost/config/user.hpp
.elif ${BOOST_CONFIG} == "generate"
do-configure:
@cd ${WRKSRC}/libs/config && \
${SETENV} ${CONFIGURE_ENV} ${SH} ./configure
${CP} -f ${WRKSRC}/libs/config/user.hpp ${WRKSRC}/boost/config/user.hpp
.endif
boost-install-libs:
cd ${WRKSRC}/stage/lib && ${PAX} -rwpe libboost* ${PREFIX}/lib
.endif # ${BOOST_PACKAGE} == "meta-pkg"